Fix incorrect usage of args.Concat

This commit is contained in:
Yoshi Askharoun
2023-05-08 20:28:12 -05:00
parent c4b00da286
commit b68f91fc98
+4 -3
View File
@@ -28,7 +28,7 @@ namespace ZuneHost.Wpf
// Construct a single string of args. Be sure to skip executing path. // Construct a single string of args. Be sure to skip executing path.
var args = Environment.GetCommandLineArgs().Skip(1); var args = Environment.GetCommandLineArgs().Skip(1);
#if DEBUG #if DEBUG
args.Concat(new[] { "-debug:true" }); args = args.Concat(new[] { "-debug:true" });
#endif #endif
string strArgs = string.Join(" ", args.ToArray()); string strArgs = string.Join(" ", args.ToArray());
@@ -76,8 +76,9 @@ namespace ZuneHost.Wpf
IrisApp.DebugSettings.DataMappingModels.CollectionChanged += DataMappingModels_CollectionChanged; IrisApp.DebugSettings.DataMappingModels.CollectionChanged += DataMappingModels_CollectionChanged;
} }
// Set decompiler for marketplace track preview menu item // Set decompiler breakponts
IrisApp.DebugSettings.Breakpoints.Add("res://ZuneMarketplaceResources!SelectionActions.uix (121, 14)"); IrisApp.DebugSettings.Breakpoints.Add(new("clr-res://ZuneMarketplaceResources!SelectionActions.uix", 121, 14));
IrisApp.DebugSettings.Breakpoints.Add(new("clr-res://ZuneShell!Quickplay.uix", 917, 62));
IntPtr hWnd = new System.Windows.Interop.WindowInteropHelper(this).Handle; IntPtr hWnd = new System.Windows.Interop.WindowInteropHelper(this).Handle;
Thread zuneThread = new(new ThreadStart(() => Thread zuneThread = new(new ThreadStart(() =>