1
0
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:
Robert 2023-03-25 22:19:36 +01:00
parent 319b84c949
commit c6b14813b7
3 changed files with 3 additions and 3 deletions

View File

@ -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()));

View File

@ -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,

View File

@ -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"
} }
} }
} }