From 097ecc3d4896c224a73e76cb80be1dd6a63d82f3 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Thu, 3 Aug 2023 23:05:34 +0200 Subject: 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 --- src-vue/src/utils/InstallType.ts | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src-vue/src/utils/InstallType.ts (limited to 'src-vue/src/utils') diff --git a/src-vue/src/utils/InstallType.ts b/src-vue/src/utils/InstallType.ts deleted file mode 100644 index 797f4077..00000000 --- a/src-vue/src/utils/InstallType.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Enumerates the way Titanfall2 could be installed (Steam/Origin/EA-Desktop) -// Needs to be synced with `pub enum InstallType` in /src-tauri/src/lib.rs -export enum InstallType { - STEAM = 'STEAM', - ORIGIN = 'ORIGIN', - EAPLAY = 'EAPLAY', - UNKNOWN = 'UNKNOWN', // used when the install location was manually selected -} -- cgit v1.2.3