aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src/constants.rs')
-rw-r--r--src-tauri/src/constants.rs60
1 files changed, 0 insertions, 60 deletions
diff --git a/src-tauri/src/constants.rs b/src-tauri/src/constants.rs
deleted file mode 100644
index 3ad2d6e8..00000000
--- a/src-tauri/src/constants.rs
+++ /dev/null
@@ -1,60 +0,0 @@
-// This file stores various global constants values
-use const_format::concatcp;
-use std::time::Duration;
-
-/// FlightCore user agent for web requests
-pub const APP_USER_AGENT: &str = concatcp!("FlightCore/", env!("CARGO_PKG_VERSION"));
-
-/// URL of the Northstar masterserver
-pub const MASTER_SERVER_URL: &str = "https://northstar.tf";
-
-/// server list endpoint
-pub const SERVER_BROWSER_ENDPOINT: &str = "/client/servers";
-
-/// List of core Northstar mods
-pub const CORE_MODS: [&str; 3] = [
- "Northstar.Client",
- "Northstar.Custom",
- "Northstar.CustomServers",
-];
-
-/// List of Thunderstoremods that shouldn't be installable
-/// as they behave different than common Squirrel mods
-pub const BLACKLISTED_MODS: [&str; 3] = [
- "northstar-Northstar",
- "northstar-NorthstarReleaseCandidate",
- "ebkr-r2modman",
-];
-
-/// List of Thunderstoremods that have some specific install requirements that makes them different from standard mods
-pub const MODS_WITH_SPECIAL_REQUIREMENTS: [&str; 1] = ["NanohmProtogen-VanillaPlus"];
-
-/// Order in which the sections for release notes should be displayed
-pub const SECTION_ORDER: [&str; 11] = [
- "feat", "fix", "docs", "style", "refactor", "build", "test", "i18n", "ci", "chore", "other",
-];
-
-/// Statistics (players and servers counts) refresh delay
-pub const REFRESH_DELAY: Duration = Duration::from_secs(5 * 60);
-
-/// Flightcore repo name and org name on GitHub
-pub const FLIGHTCORE_REPO_NAME: &str = "R2NorthstarTools/FlightCore";
-
-/// Northstar release repo name and org name on GitHub
-pub const NORTHSTAR_RELEASE_REPO_NAME: &str = "R2Northstar/Northstar";
-
-/// NorthstarLauncher repo name on GitHub
-pub const NORTHSTAR_LAUNCHER_REPO_NAME: &str = "NorthstarLauncher";
-
-/// NorthstarMods repo name on GitHub
-pub const NORTHSTAR_MODS_REPO_NAME: &str = "NorthstarMods";
-
-/// 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";