KopiaUI: How to enable Launch at Startup outside of the UI?

Ideally this option should not be visible to the end user - however with the current implementation it seems there is no way to disable this option at all.

So instead I’m looking for a way to (regularly) enable this option per script even if a user messes with this option. The script is not the issue, but figuring out where exactly the state of this option is stored. I couldn’t find anything under C:\Users\USERNAME\AppData\Roaming\kopia nor C:\Users\USERNAME\AppData\Roaming\kopia-ui. Is it a registry setting? Searching the source code of KopiaUI got me kopia/app/public/auto-launch.js at aa5a0d622bb5098251c646e07aa58b64f83752ad · kopia/kopia · GitHub. Searching for electron app autostart got some articles referring to a .config/autostart folder - but that folder does not exist.

Any hint where I should look?

On my system this is stored in the registry for the current user:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Indeed, toggling “Launch at Startup” adds/removes the KopiaUI entry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Thank you very much!