App: Fix safe mode and home directory
This commit is contained in:
committed by
Benjamin Nauck
parent
09b97e0bfd
commit
62ec6f773c
@@ -2569,13 +2569,13 @@ void Application::initConfig(int argc, char ** argv)
|
||||
mConfig["KeepDeprecatedPaths"] = "1";
|
||||
}
|
||||
|
||||
if (vm.contains("safe-mode")) {
|
||||
mConfig["SafeMode"] = "1";
|
||||
}
|
||||
|
||||
// extract home paths
|
||||
_appDirs = std::make_unique<ApplicationDirectories>(mConfig);
|
||||
|
||||
if (vm.contains("safe-mode")) {
|
||||
SafeMode::StartSafeMode();
|
||||
}
|
||||
|
||||
# ifdef FC_DEBUG
|
||||
mConfig["Debug"] = "1";
|
||||
# else
|
||||
|
||||
Reference in New Issue
Block a user