mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-07 09:40:42 +01:00
Added system property to skip update check
This commit is contained in:
parent
f857ae2349
commit
a6e071cc07
@ -108,7 +108,9 @@ public class ViaProxy {
|
|||||||
loaderThread.start();
|
loaderThread.start();
|
||||||
accountRefreshThread.start();
|
accountRefreshThread.start();
|
||||||
SwingUtilities.invokeLater(() -> ui = new ViaProxyUI());
|
SwingUtilities.invokeLater(() -> ui = new ViaProxyUI());
|
||||||
|
if (System.getProperty("skipUpdateCheck") == null) {
|
||||||
updateCheckThread.start();
|
updateCheckThread.start();
|
||||||
|
}
|
||||||
loaderThread.join();
|
loaderThread.join();
|
||||||
accountRefreshThread.join();
|
accountRefreshThread.join();
|
||||||
while (ui == null) {
|
while (ui == null) {
|
||||||
@ -127,7 +129,9 @@ public class ViaProxy {
|
|||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (System.getProperty("skipUpdateCheck") == null) {
|
||||||
updateCheckThread.start();
|
updateCheckThread.start();
|
||||||
|
}
|
||||||
loaderThread.start();
|
loaderThread.start();
|
||||||
loaderThread.join();
|
loaderThread.join();
|
||||||
Logger.LOGGER.info("ViaProxy started successfully!");
|
Logger.LOGGER.info("ViaProxy started successfully!");
|
||||||
|
Loading…
Reference in New Issue
Block a user