mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
central repo fix
This commit is contained in:
parent
adf5db6276
commit
2b46b377ff
@ -128,8 +128,10 @@ public class Installer extends ModuleInstall {
|
||||
}
|
||||
}
|
||||
|
||||
// get the new relative path to store
|
||||
String newRelPath = PlatformUtil.getUserDirectory().toPath().relativize(Paths.get(CentralRepoSettings.getInstance().getDefaultDbPath())).toString();
|
||||
// update path settings accordingly
|
||||
prevSettings.put(CentralRepoSettings.getInstance().getDatabasePathKey(), CentralRepoSettings.getInstance().getDefaultDbPath());
|
||||
prevSettings.put(CentralRepoSettings.getInstance().getDatabasePathKey(), newRelPath);
|
||||
}
|
||||
|
||||
// copy settings
|
||||
|
Loading…
x
Reference in New Issue
Block a user