mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
GP-0: Fixing user settings location in dev mode for LaunchSupport and
PyGhidra
This commit is contained in:
@@ -396,7 +396,10 @@ public class AppConfig {
|
||||
String userSettingsDirName = appName + "_" + applicationVersion + "_" +
|
||||
applicationReleaseName.replaceAll("\\s", "").toUpperCase();
|
||||
if (isDev) {
|
||||
userSettingsDirName += "_location_" + installDir.getParentFile().getName();
|
||||
String dirName = new File(installDir, "ghidra.repos.config").isFile()
|
||||
? installDir.getParentFile().getName()
|
||||
: installDir.getName();
|
||||
userSettingsDirName += "_location_" + dirName;
|
||||
}
|
||||
|
||||
// Ensure there is a user home directory (there definitely should be)
|
||||
|
||||
Reference in New Issue
Block a user