Make it possible to automatically start a persistent share when OnionShare starts

This commit is contained in:
Miguel Jacq 2025-02-10 17:13:44 +11:00
parent 6e05ee4426
commit 9a5bd1f177
No known key found for this signature in database
GPG key ID: 59B3F0C24135C6A9
4 changed files with 27 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,