Reputation: 53
My task is to launch the desktop cleaning program along with windows, but the interface (program settings) should only be launched when the program is opened directly (for example, through a shortcut).
I made a similar program device:
But it has two entry points, so you have to create two separate exe, launcher and the script itself, but this solution seems crooked to me.
Is there a solution with one exe?
Upvotes: 0
Views: 43
Reputation: 142413
You can add command line parameter like --disable-ui
(with corresponding processing in the application) and add it to the startup with this parameter. For example for Windows you can create a shortcut with target set to "path_to_exe" --disable-ui
and add it to the startup folder (see this)
Upvotes: 1