Use locally hosted gui

This commit is contained in:
jackrobison 2016-01-22 16:04:23 -05:00
parent 6b724ba8db
commit 7e5d4166d8

View file

@ -100,6 +100,7 @@ class LBRYDaemon(xmlrpc.XMLRPC):
def _disp_startup():
print "Started LBRYnet daemon"
print "The daemon can be shut down by running 'stop-lbrynet-daemon' in a terminal"
return defer.succeed(None)
d = defer.Deferred()
@ -572,7 +573,7 @@ class LBRYDaemon(xmlrpc.XMLRPC):
print str(err.getTraceback())
return err
d = defer.Deferred()
d.addCallback(lambda _: webbrowser.open("https://cdn.rawgit.com/jackrobison/lbry.io/local/view/page/demo.html"))
d.addCallback(lambda _: webbrowser.open(os.path.join(self.download_directory, "lbryio/view/page/gui.html")))
d.addErrback(_disp_err)
d.callback(None)