mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-21 11:45:16 +01:00
Added system property to auto start ViaProxy
This commit is contained in:
parent
a4099d760f
commit
0e9e05ff42
@ -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 New Issue
Block a user