mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 23:30:16 -04:00
game: fix the path the--portable flag determines
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ int main(int argc, char** argv) {
|
||||
// or because it's portable mode)
|
||||
if (enable_portable) {
|
||||
lg::info("Portable mod enabled");
|
||||
user_config_dir_override = file_util::get_current_executable_path();
|
||||
user_config_dir_override = fs::path(file_util::get_current_executable_path()).parent_path();
|
||||
}
|
||||
if (!user_config_dir_override.empty()) {
|
||||
lg::info("Overriding config directory with: {}", user_config_dir_override.string());
|
||||
|
||||
Reference in New Issue
Block a user