aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/utils
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-02 13:17:34 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-10-02 13:17:34 +0200
commita17edbf0cc2da4997048dd4196e7bfb3d8d2b21f (patch)
tree55e3eb81a92865dc620c1ea423c9972ab6c03113 /src-vue/src/utils
parente545724c89c9299d9dbfa5342ec84e35967ed66b (diff)
downloadFlightCore-a17edbf0cc2da4997048dd4196e7bfb3d8d2b21f.tar.gz
FlightCore-a17edbf0cc2da4997048dd4196e7bfb3d8d2b21f.zip
refactor: Use enum for install type
Same way like in backend code
Diffstat (limited to 'src-vue/src/utils')
-rw-r--r--src-vue/src/utils/InstallType.ts7
1 files changed, 7 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..4e992ab2
--- /dev/null
+++ b/src-vue/src/utils/InstallType.ts
@@ -0,0 +1,7 @@
+// Enumerates the way Titanfall2 could be installed (Steam/Origin/EA-Desktop)
+export enum InstallType {
+ STEAM = 'STEAM',
+ ORIGIN = 'ORIGIN',
+ EAPLAY = 'EAPLAY',
+ UNKNOWN = 'UNKNOWN', // used when the install location was manually selected
+}