mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Added system property to skip update check
This commit is contained in:
parent
f857ae2349
commit
a6e071cc07
1 changed files with 6 additions and 2 deletions
|
@ -108,7 +108,9 @@ public class ViaProxy {
|
|||
loaderThread.start();
|
||||
accountRefreshThread.start();
|
||||
SwingUtilities.invokeLater(() -> ui = new ViaProxyUI());
|
||||
updateCheckThread.start();
|
||||
if (System.getProperty("skipUpdateCheck") == null) {
|
||||
updateCheckThread.start();
|
||||
}
|
||||
loaderThread.join();
|
||||
accountRefreshThread.join();
|
||||
while (ui == null) {
|
||||
|
@ -127,7 +129,9 @@ public class ViaProxy {
|
|||
System.exit(0);
|
||||
}
|
||||
|
||||
updateCheckThread.start();
|
||||
if (System.getProperty("skipUpdateCheck") == null) {
|
||||
updateCheckThread.start();
|
||||
}
|
||||
loaderThread.start();
|
||||
loaderThread.join();
|
||||
Logger.LOGGER.info("ViaProxy started successfully!");
|
||||
|
|
Loading…
Reference in a new issue