Surrounded the Java location with quotations so paths with spaces work

This commit is contained in:
coolGi
2023-10-13 02:54:29 +10:30
parent ae65fb8e93
commit 7f4e5d9e58
@@ -317,7 +317,7 @@ public class SelfUpdater
// Execute the new jar, to delete the old jar once it detects the lock has been lifted
Runtime.getRuntime().exec(
javaBin +" -cp "+
"\""+ javaBin +"\" -cp "+
newFileLocation.getAbsolutePath()
+" "+
DeleteOnUnlock.class.getCanonicalName()