mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GT-2913: launch.properties can now take platform-specific VMARGS.
This commit is contained in:
parent
8c689a0099
commit
fa20ba3762
7 changed files with 87 additions and 75 deletions
|
@ -137,8 +137,8 @@ public class ApplicationUtilities {
|
|||
throws FileNotFoundException {
|
||||
|
||||
// Look for preset cache directory
|
||||
String cachedir = System.getProperty("application.cachedir");
|
||||
if (cachedir != null && !cachedir.isEmpty()) {
|
||||
String cachedir = System.getProperty("application.cachedir", "").trim();
|
||||
if (!cachedir.isEmpty()) {
|
||||
return new File(cachedir,
|
||||
SystemUtilities.getUserName() + "-" + applicationProperties.getApplicationName());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue