aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/constants.rs
diff options
context:
space:
mode:
authorOmbrezz <ghostcoder256@gmail.com>2023-09-18 07:47:28 -0400
committerGitHub <noreply@github.com>2023-09-18 13:47:28 +0200
commita0e6fcc4c67411f4a2251fecb9c849233101f1b3 (patch)
tree86c59dc6088c6c05d06a3a93a89564e1d72123e7 /src-tauri/src/constants.rs
parentf3c749f4a8dbb8953cf392604b077f1547400ae0 (diff)
downloadFlightCore-a0e6fcc4c67411f4a2251fecb9c849233101f1b3.tar.gz
FlightCore-a0e6fcc4c67411f4a2251fecb9c849233101f1b3.zip
Allow ProtonGE to be used as a compatibility tool (#533)
* Allow ProtonGE to be used as a compatibility tool * Use constant list to track valid Proton builds * Fixed formatting * Update to doc comments
Diffstat (limited to 'src-tauri/src/constants.rs')
-rw-r--r--src-tauri/src/constants.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs
index 7ee98f95..33aefac8 100644
--- a/src-tauri/src/constants.rs
+++ b/src-tauri/src/constants.rs
@@ -58,3 +58,7 @@ pub const NORTHSTAR_DLL: &str = "Northstar.dll";
/// Profile that Northstar defaults to and ships with
pub const NORTHSTAR_DEFAULT_PROFILE: &str = "R2Northstar";
+
+/// List of valid compatibility tools that Northstar can be launched with
+pub const VALID_NORTHSTAR_PROTON_BUILDS: [&str; 3] =
+ ["NorthstarProton-8.1-1", "GE-Proton8-13", "GE-Proton8-11"];