Changed name to DeleteOnUnlock

This commit is contained in:
coolGi
2023-10-06 17:24:31 +10:30
parent ffb1ce4355
commit 820683783b
2 changed files with 2 additions and 2 deletions
@@ -322,7 +322,7 @@ public class SelfUpdater
*/
// Execute the new jar, to delete the old jar once it detects the lock has been lifted
Runtime.getRuntime().exec("java -cp "+ newFileLocation.getAbsolutePath() +" com.seibel.distanthorizons.coreapi.util.jar.UpdateJarRun "+ JarUtils.jarFile.getAbsolutePath());
Runtime.getRuntime().exec("java -cp "+ newFileLocation.getAbsolutePath() +" com.seibel.distanthorizons.coreapi.util.jar.DeleteOnUnlock "+ JarUtils.jarFile.getAbsolutePath());
}
}
catch (Exception e)