Skip to content

Commit

Permalink
fixup! C: AutoUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
way-zer committed Jul 6, 2024
1 parent a8f3ce1 commit 401834e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/mindustryX/features/AutoUpdate.kt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ object AutoUpdate {
val args = if (OS.isMac) arrayOf<String>(Vars.javaPath, "-XstartOnFirstThread", "-DlastBuild=" + Version.build, "-Dberestart", "-Dbecopy=" + fileDest.absolutePath(), "-jar", file.absolutePath())
else arrayOf<String>(Vars.javaPath, "-DlastBuild=" + Version.build, "-Dberestart", "-Dbecopy=" + fileDest.absolutePath(), "-jar", file.absolutePath())
Runtime.getRuntime().exec(args)
exitProcess(0)
Core.app.exit()
}
}

0 comments on commit 401834e

Please sign in to comment.