mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-27 04:41:15 +08:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99cfe5c8fb |
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user