start daemon from status bar
This commit is contained in:
parent
59d08a92d0
commit
a22e29532c
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ import rumps
|
|||
import xmlrpclib
|
||||
import os
|
||||
import webbrowser
|
||||
import subprocess
|
||||
|
||||
|
||||
class DaemonStatusBarApp(rumps.App):
|
||||
|
@ -63,6 +64,7 @@ class DaemonStatusBarApp(rumps.App):
|
|||
|
||||
|
||||
def main():
|
||||
subprocess.Popen("screen -dmS lbry bash -c 'lbrynet-daemon --update=False'", shell=True)
|
||||
status_app = DaemonStatusBarApp()
|
||||
status_app.run()
|
||||
|
||||
|
|
Loading…
Reference in a new issue