tried to fix compilation error on windows
This commit is contained in:
parent
a910f2a19e
commit
2ee06eb678
2 changed files with 2 additions and 1 deletions
|
@ -2,9 +2,11 @@ use super::InstallErr;
|
||||||
|
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
|
#[cfg(not(target_os = "windows"))]
|
||||||
use std::os::unix::prelude::PermissionsExt;
|
use std::os::unix::prelude::PermissionsExt;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
|
#[cfg(not(target_os = "windows"))]
|
||||||
pub async fn unix_launch_option_setup(
|
pub async fn unix_launch_option_setup(
|
||||||
window: &tauri::Window,
|
window: &tauri::Window,
|
||||||
game_path: &str,
|
game_path: &str,
|
||||||
|
|
|
@ -5,7 +5,6 @@ mod types;
|
||||||
mod clean;
|
mod clean;
|
||||||
mod install_bepinex;
|
mod install_bepinex;
|
||||||
mod install_mod;
|
mod install_mod;
|
||||||
#[cfg(not(target_os = "windows"))]
|
|
||||||
mod launch_options;
|
mod launch_options;
|
||||||
|
|
||||||
use types::InstallErr;
|
use types::InstallErr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue