mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-09 14:52:40 -04:00
Adds Download Mode, for downloading from another OnionShare
This commit is contained in:
parent
73f153af3b
commit
f7adcda215
11 changed files with 1128 additions and 41 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue