aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/constants.rs
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-08-04 13:31:49 +0200
committerGitHub <noreply@github.com>2023-08-04 13:31:49 +0200
commit2d781b9f694de66fdb23a28d7483b9639e6306d8 (patch)
tree8d88c6489b4878a429477f6942a02d4653cdcf92 /src-tauri/src/constants.rs
parentbfcb0a7f689148330f866c47dc34c6c5e2565592 (diff)
downloadFlightCore-2d781b9f694de66fdb23a28d7483b9639e6306d8.tar.gz
FlightCore-2d781b9f694de66fdb23a28d7483b9639e6306d8.zip
Move DLL into Profile for non default Profiles (#465)
This is done so that with profiles we can run different versions of Northstar which would use different versions of the `Northstar.dll`
Diffstat (limited to 'src-tauri/src/constants.rs')
-rw-r--r--src-tauri/src/constants.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs
index 9917a8c8..f98521b8 100644
--- a/src-tauri/src/constants.rs
+++ b/src-tauri/src/constants.rs
@@ -52,3 +52,9 @@ pub const NORTHSTAR_RELEASE_REPO_NAME: &str = "R2Northstar/Northstar";
// URL to launcher commits API URL
pub const NS_LAUNCHER_COMMITS_API_URL: &str =
"https://api.github.com/repos/R2Northstar/NorthstarLauncher/commits";
+
+// Filename of DLL that Northstar uses
+pub const NORTHSTAR_DLL: &str = "Northstar.dll";
+
+// Profile that Northstar defaults to and ships with
+pub const NORTHSTAR_DEFAULT_PROFILE: &str = "R2Northstar";