Added system property to auto start ViaProxy
Some checks are pending
build-docker / build (push) Waiting to run
build / build (push) Waiting to run

This commit is contained in:
RaphiMC 2024-10-30 19:36:26 +01:00
parent a4099d760f
commit 0e9e05ff42
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94

View file

@ -195,6 +195,10 @@ public class GeneralTab extends UITab {
this.stateButton.setText(I18n.get("tab.general.state.start"));
this.stateButton.setEnabled(true);
timer.stop();
if (System.getProperty("viaproxy.gui.autoStart") != null) {
this.stateButton.doClick();
}
}
});
timer.start();