Skip to content

Commit

Permalink
I think this will fix the silent failure with no existing install
Browse files Browse the repository at this point in the history
  • Loading branch information
Techjar authored Nov 13, 2020
1 parent 1e095db commit 6b356b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions installer/Installer.java
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ public void run()
}

//check for multimc
if (targetDir.exists())
for(File f : targetDir.listFiles()){
if(f.getName().equalsIgnoreCase("multimc.exe") || (f.getName().equalsIgnoreCase("multimc") && f.isFile()) || f.getName().equalsIgnoreCase("multimc.cfg")){
ArrayList<File> ilist = new ArrayList<File>();
Expand Down

0 comments on commit 6b356b9

Please sign in to comment.