aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-08-03 23:05:34 +0200
committerGitHub <noreply@github.com>2023-08-03 23:05:34 +0200
commit097ecc3d4896c224a73e76cb80be1dd6a63d82f3 (patch)
tree1718e64a427c340bf5be8865fbb3fb7c7a656b74 /src-tauri/src
parent62016e569f191e2ddbb59a3a5cda5053f1c6f1e4 (diff)
downloadFlightCore-097ecc3d4896c224a73e76cb80be1dd6a63d82f3.tar.gz
FlightCore-097ecc3d4896c224a73e76cb80be1dd6a63d82f3.zip
fix: Move leftover type definition to auto-generated from Rust (#450)
* chore: Delete leftover type definition file * feat: Generate InstallType from Rust enum * fix: Use new generated struct
Diffstat (limited to 'src-tauri/src')
-rw-r--r--src-tauri/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 9e812683..a7827a44 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -457,7 +457,8 @@ mod platform_specific;
#[cfg(target_os = "linux")]
use platform_specific::linux;
-#[derive(Serialize, Deserialize, Debug, Clone)]
+#[derive(Serialize, Deserialize, Debug, Clone, TS)]
+#[ts(export)]
pub enum InstallType {
STEAM,
ORIGIN,