added config option for using LAN transport
This commit is contained in:
parent
3aec35ef33
commit
9575352e3e
@ -164,7 +164,9 @@ def daemon():
|
|||||||
|
|
||||||
events.event('init', threaded=False)
|
events.event('init', threaded=False)
|
||||||
events.event('daemon_start')
|
events.event('daemon_start')
|
||||||
Thread(target=LANServer(shared_state).start_server, daemon=True).start()
|
if config.get('transports.lan', True):
|
||||||
|
Thread(target=LANServer(shared_state).start_server,
|
||||||
|
daemon=True).start()
|
||||||
LANManager(shared_state).start()
|
LANManager(shared_state).start()
|
||||||
communicator.startCommunicator(shared_state)
|
communicator.startCommunicator(shared_state)
|
||||||
|
|
||||||
|
@ -65,7 +65,8 @@
|
|||||||
},
|
},
|
||||||
"transports": {
|
"transports": {
|
||||||
"manual_disk": true,
|
"manual_disk": true,
|
||||||
"tor": true
|
"tor": true,
|
||||||
|
"lan": true
|
||||||
},
|
},
|
||||||
"ui": {
|
"ui": {
|
||||||
"theme": "dark"
|
"theme": "dark"
|
||||||
|
Loading…
Reference in New Issue
Block a user