Adds Download Mode, for downloading from another OnionShare

This commit is contained in:
Miguel Jacq 2025-03-04 12:01:38 +11:00
parent 73f153af3b
commit f7adcda215
No known key found for this signature in database
GPG key ID: 59B3F0C24135C6A9
11 changed files with 1128 additions and 41 deletions

View file

@ -43,7 +43,7 @@ class ModeSettings:
"persistent": {
"mode": None,
"enabled": False,
"autostart_on_launch": False
"autostart_on_launch": False,
},
"general": {
"title": None,
@ -67,8 +67,9 @@ class ModeSettings:
"disable_csp": False,
"custom_csp": None,
"log_filenames": False,
"filenames": []
"filenames": [],
},
"download": {"data_dir": self.build_default_receive_data_dir(), "poll": 0},
"chat": {},
}
self._settings = {}