fix backslash and filenames
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
**Bug Fixes:**
|
**Bug Fixes:**
|
||||||
|
|
||||||
- Hayabusa would crash with `-L` option (logon summary option). (#674) (@hitenkoku)
|
- Hayabusa would crash with `-L` option (logon summary option). (#674) (@hitenkoku)
|
||||||
- Fixed custom config directory does not load files. (#681) (@hitenkoku)
|
- Hayabusa would continue to scan without the correct config files but now will print and error and gracefully terminate. (#681) (@hitenkoku)
|
||||||
|
|
||||||
## v1.5.1 [2022/08/20]
|
## v1.5.1 [2022/08/20]
|
||||||
|
|
||||||
|
|||||||
@@ -411,11 +411,11 @@ pub fn check_rule_config() -> Result<(), String> {
|
|||||||
|
|
||||||
// 各種ファイルを確認する
|
// 各種ファイルを確認する
|
||||||
let files = vec![
|
let files = vec![
|
||||||
"channgel_abbrevations.txt",
|
"channel_abbreviations.txt",
|
||||||
"target_event_IDs.txt",
|
"target_event_IDs.txt",
|
||||||
"default_details.txt",
|
"default_details.txt",
|
||||||
"level_tuning.txt",
|
"level_tuning.txt",
|
||||||
"statics_event_info.txt",
|
"statistics_event_info.txt",
|
||||||
"eventkey_alias.txt",
|
"eventkey_alias.txt",
|
||||||
];
|
];
|
||||||
let mut not_exist_file = vec![];
|
let mut not_exist_file = vec![];
|
||||||
@@ -427,7 +427,7 @@ pub fn check_rule_config() -> Result<(), String> {
|
|||||||
|
|
||||||
if !not_exist_file.is_empty() {
|
if !not_exist_file.is_empty() {
|
||||||
return Err(format!(
|
return Err(format!(
|
||||||
"Could not find the config file: {}¥nPlease specify a correct rules config directory",
|
"Could not find the following config files: {}\nPlease specify a correct rules config directory.\n",
|
||||||
not_exist_file.join(", ")
|
not_exist_file.join(", ")
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user