Merge pull request #1963 from onionshare/mig/start-sharing-on-launch

Make it possible to automatically start a persistent share when OnionShare starts
This commit is contained in:
mig5 2025-02-12 08:35:02 +11:00 committed by GitHub
commit b14d54d9c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 62 additions and 2 deletions

View file

@ -40,7 +40,11 @@ class ModeSettings:
"client_auth_priv_key": None,
"client_auth_pub_key": None,
},
"persistent": {"mode": None, "enabled": False},
"persistent": {
"mode": None,
"enabled": False,
"autostart_on_launch": False
},
"general": {
"title": None,
"public": False,