aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/utils
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2022-10-02 17:28:42 +0200
committerGitHub <noreply@github.com>2022-10-02 17:28:42 +0200
commit7fee06ec0b746340667e12c003ff7b9f0e2f1143 (patch)
tree536ead7786940a30afed5b719243813bf0e23cef /src-vue/src/utils
parent2a32f80aedec671d812142cbbe2d0a461a4094e4 (diff)
parent52394a3e86373801f5285843d6931a692a619be1 (diff)
downloadFlightCore-7fee06ec0b746340667e12c003ff7b9f0e2f1143.tar.gz
FlightCore-7fee06ec0b746340667e12c003ff7b9f0e2f1143.zip
Merge pull request #3 from GeckoEidechse/add-launch-functionality
Add launch functionality
Diffstat (limited to 'src-vue/src/utils')
-rw-r--r--src-vue/src/utils/InstallType.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src-vue/src/utils/InstallType.ts b/src-vue/src/utils/InstallType.ts
new file mode 100644
index 00000000..797f4077
--- /dev/null
+++ b/src-vue/src/utils/InstallType.ts
@@ -0,0 +1,8 @@
+// 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
+}