Fix LauncherAsync crash

pull/70/head
Brian Lima 3 years ago
parent 1692286307
commit 3144d2e63b

@ -39,8 +39,7 @@ namespace UWPHook
//When length is 1, the only argument is the path where the app is installed //When length is 1, the only argument is the path where the app is installed
if (Environment.GetCommandLineArgs().Length > 1) if (Environment.GetCommandLineArgs().Length > 1)
{ {
Task task = LauncherAsync(); _ = LauncherAsync();
task.RunSynchronously();
} }
} }
} }

Loading…
Cancel
Save