Skip to content

Commit 0df378f

Browse files
fixed bug (crash) when attempting to write to a nonexistent registry subkey
1 parent 96eba0d commit 0df378f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MainWindow/Grid_Tabs/3. System Behavior/ButtonHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,6 @@ private async void GameDVR_GameBar(object sender, RoutedEventArgs e)
512512

513513
MainWindow.ActivateWorker();
514514

515-
MainWindow.LogBoxAdd("Deactivating GameDVR and GameBar\n", Brushes.LightBlue, null);
516-
517515
try
518516
{
519517
await Task.Run(() =>
@@ -533,6 +531,8 @@ await Task.Run(() =>
533531
LogBox.Add(ex.Message + "\n", Brushes.Red);
534532
}
535533

534+
MainWindow.LogBoxAdd("Deactivated GameDVR and GameBar\n", Brushes.LightBlue, null);
535+
536536
MainWindow.DeactivateWorker();
537537

538538
GameDVR_Button.IsEnabled = true;

ResourceInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace WinUtil
44
{
55
internal readonly struct EXT_DLL
66
{
7-
internal const String BSS_System = "275bdc79d65985f7d4e51987fb7cb933aa7df0e11a8defd1af72c8422c288649";
7+
internal const String BSS_System = "0c022e0f7e70fda69783438e8fa642e7aa30605df179e4d5c44849366f8a22d9";
88
internal const String BSS_HashTools = "5ebb8052b2f0395ede2423354fcc8e39495eba6596187435f983f99274a71136";
99
internal const String BSS_Launcher = "8fbdaf21a67f57fc48bd402e56ed10c35c1c667c5ad34cba34a8dbc4e295ccce";
1010

local_libs/BSS.System.dll

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)