diff --git a/lbrynet/lbrynet_console/LBRYConsole.py b/lbrynet/lbrynet_console/LBRYConsole.py index 6cde77c3f..fee6c2faa 100644 --- a/lbrynet/lbrynet_console/LBRYConsole.py +++ b/lbrynet/lbrynet_console/LBRYConsole.py @@ -4,6 +4,7 @@ import argparse import requests import locale import sys +import webbrowser if sys.platform == "darwin": from appdirs import user_data_dir @@ -550,6 +551,8 @@ def launch_lbry_console(): print "If you're running the app, quit before starting lbrynet-console" print "If you're running lbrynet-daemon in a terminal, run 'stop-lbrynet-daemon' to turn it off" + webbrowser.open("http://localhost:5279") + except: log_format = "(%(asctime)s)[%(filename)s:%(lineno)s] %(funcName)s(): %(message)s" formatter = logging.Formatter(log_format) diff --git a/setup_osx.py b/setup_osx.py deleted file mode 100644 index 052b51235..000000000 --- a/setup_osx.py +++ /dev/null @@ -1,22 +0,0 @@ -import os -from setuptools import setup - -APP = [os.path.join('lbrynet', 'lbrynet_daemon', 'Apps', 'LBRYOSXStatusBar.py')] -DATA_FILES = [] -OPTIONS = { - 'argv_emulation': True, - 'iconfile': 'app.icns', - 'plist': { - 'LSUIElement': True, - }, - 'includes': ['rumps'] -} - - -setup( - name='LBRY', - app=APP, - data_files=DATA_FILES, - options={'py2app': OPTIONS}, - setup_requires=['py2app'], -) \ No newline at end of file