1
0
Fork 0

attempt to fix compilation error take 2

This commit is contained in:
Kim, Jimin 2022-02-08 22:15:04 +09:00
parent 2ee06eb678
commit e4189f5603

View file

@ -5,6 +5,7 @@ mod types;
mod clean;
mod install_bepinex;
mod install_mod;
#[cfg(not(target_os = "windows"))]
mod launch_options;
use types::InstallErr;
@ -86,11 +87,10 @@ pub async fn install(window: tauri::Window, game_path: String) -> Result<(), Ins
// Set steam launch option if OS is not windows
//
if cfg!(not(target_os = "windows")) {
match launch_options::unix_launch_option_setup(&window, game_path).await {
Ok(_) => {}
Err(err) => return Err(err),
}
#[cfg(not(target_os = "windows"))]
match launch_options::unix_launch_option_setup(&window, game_path).await {
Ok(_) => {}
Err(err) => return Err(err),
}
//