Added system property to auto start ViaProxy

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();