Skip to content

Commit 50e1151

Browse files
committed
Respect APPOSE_ENVSDIR environment variable
1 parent de18154 commit 50e1151

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/apposed/appose/util/Environments.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ public static List<String> systemPath() {
9393
public static String apposeEnvsDir() {
9494
String envsDir = System.getProperty("appose.envs-dir");
9595
if (envsDir != null) return envsDir;
96+
envsDir = System.getenv("APPOSE_ENVSDIR");
97+
if (envsDir != null) return envsDir;
9698
String userHome = System.getProperty("user.home");
9799
return Paths.get(userHome, ".local", "share", "appose").toString();
98100
}

0 commit comments

Comments
 (0)