lonemeow / acc-connector

Direct server connection utility for Assetto Corsa Competizione
MIT License
17 stars 1 forks source link

Create a startup argument to install the hook when the app is launched #19

Open alotufo opened 7 months ago

alotufo commented 7 months ago

E.g.: ACC Connector.exe -installhook

lonemeow commented 7 months ago

E.g.: ACC Connector.exe -installhook

Should this only install the hook and immediately exit, or also start the app normally? The former would likely be more useful for scripting scenarios, but the latter for normal users.

In addition, I wonder if the app should offer to install the hook if none is installed on startup (or maybe just initial startup)?

alotufo commented 7 months ago

It would be just for scripting users mainly. This feature can be put in as a configuration item as well in the GUI, as well as an option to possibly start with Windows and start minimized as well.