mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Fixed an oopsie
This commit is contained in:
parent
319b84c949
commit
c6b14813b7
@ -194,7 +194,7 @@ public abstract class DataModelVisualizationViewModel : ReactiveObject, IDisposa
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (looseMatch)
|
if (looseMatch)
|
||||||
IsMatchingFilteredTypes = filteredTypes.Any(t => t.IsCastableFrom(type) ||
|
IsMatchingFilteredTypes = filteredTypes.Any(t => t!.IsCastableFrom(type) ||
|
||||||
(t == typeof(Enum) && type.IsEnum) ||
|
(t == typeof(Enum) && type.IsEnum) ||
|
||||||
(t == typeof(IEnumerable<>) && type.IsGenericEnumerable()) ||
|
(t == typeof(IEnumerable<>) && type.IsGenericEnumerable()) ||
|
||||||
(type.IsGenericType && t == type.GetGenericTypeDefinition()));
|
(type.IsGenericType && t == type.GetGenericTypeDefinition()));
|
||||||
|
|||||||
@ -142,7 +142,7 @@ public class ApplicationStateManager
|
|||||||
string redirectSymbol = File.Exists(outputFile) && new FileInfo(outputFile).Length > 200000 ? ">" : ">>";
|
string redirectSymbol = File.Exists(outputFile) && new FileInfo(outputFile).Length > 200000 ? ">" : ">>";
|
||||||
ProcessStartInfo info = new()
|
ProcessStartInfo info = new()
|
||||||
{
|
{
|
||||||
Arguments = $"-ExecutionPolicy Bypass -File \"{script}\" {arguments} {redirectSymbol} \"{outputFile}\"",
|
Arguments = $"PowerShell -ExecutionPolicy Bypass -File \"{script}\" {arguments} {redirectSymbol} \"{outputFile}\"",
|
||||||
FileName = "PowerShell.exe",
|
FileName = "PowerShell.exe",
|
||||||
WindowStyle = ProcessWindowStyle.Hidden,
|
WindowStyle = ProcessWindowStyle.Hidden,
|
||||||
CreateNoWindow = true,
|
CreateNoWindow = true,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"profiles": {
|
"profiles": {
|
||||||
"Artemis.UI.Windows": {
|
"Artemis.UI.Windows": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"commandLineArgs": "--force-elevation --disable-forced-shutdown --pcmr --channel=feature/gh-actions"
|
"commandLineArgs": "--force-elevation --disable-forced-shutdown --pcmr"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user