Skip to content

Commit

Permalink
Check parent directory for an existing runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 authored Nov 12, 2023
1 parent dd32154 commit 504a269
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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)"#;
(https://discord.gg/celeste, channel #modding_help)"#;

0 comments on commit 504a269

Please sign in to comment.