Compare commits

...
Author SHA1 Message Date
Aigio Liu 99cfe5c8fb #1992 2022-09-09 00:17:04 +08:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ public abstract class CommandLineHost : IDisposable
steamService.SetCurrentUser(account); steamService.SetCurrentUser(account);
} }
steamService.StartSteam(); steamService.StartSteamWithParameter();
} }
}); });
rootCommand.AddCommand(steamuser); rootCommand.AddCommand(steamuser);
@@ -53,7 +53,7 @@ namespace System.Application.UI.ViewModels
if (await MessageBox.ShowAsync(AppResources.SaveEditedAppInfo_RestartSteamTip, ThisAssembly.AssemblyTrademark, MessageBox.Button.OKCancel) == MessageBox.Result.OK) if (await MessageBox.ShowAsync(AppResources.SaveEditedAppInfo_RestartSteamTip, ThisAssembly.AssemblyTrademark, MessageBox.Button.OKCancel) == MessageBox.Result.OK)
{ {
await stmService.ShutdownSteamAsync(); await stmService.ShutdownSteamAsync();
stmService.StartSteam(); stmService.StartSteamWithParameter();
} }
Toast.Show(AppResources.SaveEditedAppInfo_SaveToSteamSuccess); Toast.Show(AppResources.SaveEditedAppInfo_SaveToSteamSuccess);
} }
@@ -198,7 +198,7 @@ namespace System.Application.UI.ViewModels
if (result.IsOK()) if (result.IsOK())
{ {
steamService.TryKillSteamProcess(); steamService.TryKillSteamProcess();
steamService.StartSteam(); steamService.StartSteamWithParameter();
} }
} }
} }