Linting & prettier

Bump version
This commit is contained in:
Thoronium
2023-04-26 14:51:19 -06:00
parent e38467f054
commit 6e711073ad
8 changed files with 38 additions and 35 deletions

View File

@@ -53,9 +53,7 @@ pub async fn unpatch_game() -> bool {
pub async fn get_game_rsa_path() -> Option<String> {
let config = config::get_config();
if config.game_install_path.is_none() {
return None;
}
config.game_install_path.as_ref()?;
let mut game_folder = PathBuf::from(config.game_install_path.unwrap());
game_folder.pop();