added reset steam launch option to remove command
This commit is contained in:
parent
3b03ff7a8d
commit
ac7c41945b
4 changed files with 4 additions and 2 deletions
|
@ -40,5 +40,5 @@ pub async fn remove(game_path: String) -> Result<(), RemoveErr> {
|
|||
}
|
||||
}
|
||||
|
||||
return Ok(());
|
||||
return Err(RemoveErr::LaunchOptionNotRemoved);
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
pub enum RemoveErr {
|
||||
FailedToGetGamePath,
|
||||
FailedToRemoveFiles,
|
||||
LaunchOptionNotRemoved,
|
||||
}
|
||||
|
||||
impl serde::Serialize for RemoveErr {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
WBM Removed!
|
||||
<br />
|
||||
You may now close the installer.
|
||||
{:else if false}
|
||||
{:else if lastRemoveErr == RemoveErr.LaunchOptionNotRemoved}
|
||||
Reset steam launch options.
|
||||
|
||||
<br />
|
||||
|
|
|
@ -20,6 +20,7 @@ export enum InstallErr {
|
|||
export enum RemoveErr {
|
||||
FailedToGetGamePath,
|
||||
FailedToRemoveFiles,
|
||||
LaunchOptionNotRemoved,
|
||||
}
|
||||
|
||||
export enum OperationType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue