From 504a2699248422a6948d325578da73de7627f1c9 Mon Sep 17 00:00:00 2001 From: Popax21 <29798799+Popax21@users.noreply.github.com> Date: Sun, 12 Nov 2023 01:53:39 +0000 Subject: [PATCH] Check parent directory for an existing runtime --- src/cfg.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cfg.rs b/src/cfg.rs index 814f70b..3a2b42a 100644 --- a/src/cfg.rs +++ b/src/cfg.rs @@ -5,7 +5,8 @@ pub const IS_QUIET: bool = true; pub const RUNTIME_DESCR_FILE: &str = "piton-runtime.yaml"; pub const RUNTIME_DIR_PATHS: &[&str] = &[ - "piton-runtime" + "piton-runtime", + "../piton-runtime" ]; pub const USE_SYSTEM_RUNTIME: bool = true; @@ -26,4 +27,4 @@ pub const UI_APP_NAME: &str = "Everest Runtime Bootstrapper"; pub const UI_ERRORMSG_HEADER: &str = r#"An error occurred while trying to prepare Everest for startup. Please report this in the Celeste discord server! -(https://discord.gg/celeste, channel #modding_help)"#; \ No newline at end of file +(https://discord.gg/celeste, channel #modding_help)"#;