diff options
Diffstat (limited to 'src-tauri/src/lib.rs')
-rw-r--r-- | src-tauri/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 916a78ed..d0377917 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -4,7 +4,7 @@ use regex::Regex; use serde::{Deserialize, Serialize}; use zip::ZipArchive; -#[derive(Serialize, Deserialize, Debug)] +#[derive(Serialize, Deserialize, Debug, Clone)] pub enum InstallType { STEAM, ORIGIN, @@ -12,10 +12,10 @@ pub enum InstallType { UNKNOWN, } -#[derive(Serialize, Deserialize, Debug)] +#[derive(Serialize, Deserialize, Debug, Clone)] pub struct GameInstall { game_path: String, - install_type: InstallType, + pub install_type: InstallType, } /// Check version number of a mod |