aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/lib.rs
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 19:31:50 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-10 19:31:50 +0200
commit18cf7fa1daf9ea0f3ba71ad0ee4d857e703bd4b4 (patch)
treebabf8293ddb24d5a51569bdd1a18290bcf2128cd /src-tauri/src/lib.rs
parent45a9903b07c71254ebd7d01b09598b6ad9dd68cb (diff)
downloadFlightCore-18cf7fa1daf9ea0f3ba71ad0ee4d857e703bd4b4.tar.gz
FlightCore-18cf7fa1daf9ea0f3ba71ad0ee4d857e703bd4b4.zip
Add initial front-end code for launching Northstar
Diffstat (limited to 'src-tauri/src/lib.rs')
-rw-r--r--src-tauri/src/lib.rs6
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