Skip to content

Commit

Permalink
Update PropParse.java
Browse files Browse the repository at this point in the history
  • Loading branch information
smithy212000 committed Mar 27, 2017
1 parent dfc0935 commit 19b265d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/lnicf/PortMiner/PropParse.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public static void checkPropFile() {
propFile = new File("portminer.properties");
} else if (Multi.getOS() == "LINUX") {
propFile = new File(Multi.linHome() + "/PortMiner/portminer.properties");
if (!propFile.exists()) {
File pmDir = new File(Multi.linHome() + "/PortMiner");
pmDir.mkdir();
}
} else {
Logger.log("Unknown OS for properties!", "warn");
propFile = new File("portminer.properties");
Expand Down

0 comments on commit 19b265d

Please sign in to comment.