Skip to content

Commit

Permalink
backend: actually save whether or not the game was installed/uninstalled
Browse files Browse the repository at this point in the history
  • Loading branch information
xTVaser committed Nov 5, 2023
1 parent 633aac0 commit 919c519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ impl LauncherConfig {
let active_version = self.active_version.clone();
let active_version_folder = self.active_version_folder.clone();
let game_config = self.get_supported_game_config_mut(game_name)?;
game_config.is_installed = installed;
if installed {
game_config.version = active_version;
game_config.version_folder = active_version_folder;
Expand Down

0 comments on commit 919c519

Please sign in to comment.