start daemon from status bar

This commit is contained in:
Jack 2016-02-28 23:49:37 -05:00
parent 59d08a92d0
commit a22e29532c

View file

@ -2,6 +2,7 @@ import rumps
import xmlrpclib import xmlrpclib
import os import os
import webbrowser import webbrowser
import subprocess
class DaemonStatusBarApp(rumps.App): class DaemonStatusBarApp(rumps.App):
@ -63,6 +64,7 @@ class DaemonStatusBarApp(rumps.App):
def main(): def main():
subprocess.Popen("screen -dmS lbry bash -c 'lbrynet-daemon --update=False'", shell=True)
status_app = DaemonStatusBarApp() status_app = DaemonStatusBarApp()
status_app.run() status_app.run()