summaryrefslogtreecommitdiffstats
path: root/src/launcher/constants.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-23 18:53:50 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-23 18:53:50 -0600
commit1ddf56ed6556b990a8c37267430e129098ba866b (patch)
tree11ca992edf646d718882510bc2f7531fe2f89853 /src/launcher/constants.rs
parentfix log arg on windows (diff)
make auth moduleiced
Diffstat (limited to 'src/launcher/constants.rs')
-rw-r--r--src/launcher/constants.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/launcher/constants.rs b/src/launcher/constants.rs
index d2f1b4f..aba0650 100644
--- a/src/launcher/constants.rs
+++ b/src/launcher/constants.rs
@@ -16,6 +16,8 @@ pub const NATIVES_PREFIX: &str = "natives-";
pub const DEF_INSTANCE_NAME: &'static str = "default";
pub const DEF_PROFILE_NAME: &'static str = "default";
+// https://login.live.com/oauth20_authorize.srf?client_id=00000000402b5328&redirect_uri=ms-xal-00000000402b5328://auth&response_type=token&display=touch&scope=service::user.auth.xboxlive.com::MBI_SSL%20offline_access&prompt=select_account
+
lazy_static! {
pub static ref NATIVES_DIR_PATTERN: Regex = Regex::new("^natives-(\\d+)").unwrap();
-} \ No newline at end of file
+}