diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-08-03 23:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 23:05:34 +0200 |
commit | 097ecc3d4896c224a73e76cb80be1dd6a63d82f3 (patch) | |
tree | 1718e64a427c340bf5be8865fbb3fb7c7a656b74 /src-tauri/src/main.rs | |
parent | 62016e569f191e2ddbb59a3a5cda5053f1c6f1e4 (diff) | |
download | FlightCore-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/main.rs')
-rw-r--r-- | src-tauri/src/main.rs | 3 |
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, |