mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Added system property to auto start ViaProxy
This commit is contained in:
parent
a4099d760f
commit
0e9e05ff42
1 changed files with 4 additions and 0 deletions
|
@ -195,6 +195,10 @@ public class GeneralTab extends UITab {
|
||||||
this.stateButton.setText(I18n.get("tab.general.state.start"));
|
this.stateButton.setText(I18n.get("tab.general.state.start"));
|
||||||
this.stateButton.setEnabled(true);
|
this.stateButton.setEnabled(true);
|
||||||
timer.stop();
|
timer.stop();
|
||||||
|
|
||||||
|
if (System.getProperty("viaproxy.gui.autoStart") != null) {
|
||||||
|
this.stateButton.doClick();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
timer.start();
|
timer.start();
|
||||||
|
|
Loading…
Reference in a new issue