Skip to content

Commit

Permalink
use specific application folder for pathvisio 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkutmon committed Oct 3, 2024
1 parent 10d28c4 commit c7002b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ public static File getApplicationDir() {
if(dirApplication == null) {
//Windows specific directory configuration
if(Utils.getOS() == Utils.OS_WINDOWS) {
dirApplication = new File(System.getenv("APPDATA"), "PathVisio");
dirApplication = new File(System.getenv("APPDATA"), "PathVisio_3.4.0");
} else { //All other OS
dirApplication = new File(System.getProperty("user.home"), ".PathVisio");
dirApplication = new File(System.getProperty("user.home"), ".PathVisio_3.4.0");
}
if(!dirApplication.exists())
dirApplication.mkdir();
Expand Down

0 comments on commit c7002b3

Please sign in to comment.