adjusted execution path to hayabusa config folder check
This commit is contained in:
@@ -132,8 +132,8 @@ impl App {
|
|||||||
println!();
|
println!();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// 実行時のexeファイルのパスをベースに変更する必要があるためデフォルトの値であった場合はそのexeファイルと同一階層を探すようにする
|
||||||
if !Path::new("./config").exists() {
|
if !CURRENT_EXE_PATH.join("config").exists() {
|
||||||
AlertMessage::alert(
|
AlertMessage::alert(
|
||||||
"Hayabusa could not find the config directory.\nPlease run it from the Hayabusa root directory.\nExample: ./hayabusa-1.0.0-windows-x64.exe"
|
"Hayabusa could not find the config directory.\nPlease run it from the Hayabusa root directory.\nExample: ./hayabusa-1.0.0-windows-x64.exe"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user