eric7/eric7_browser.py

branch
eric7
changeset 8314
e3642a6a1e71
parent 8312
800c432b34c8
child 8318
962bce857696
equal deleted inserted replaced
8313:dac33c7fce07 8314:e3642a6a1e71
130 Main entry point into the application. 130 Main entry point into the application.
131 """ 131 """
132 global app 132 global app
133 133
134 from PyQt5.QtGui import QGuiApplication 134 from PyQt5.QtGui import QGuiApplication
135 QGuiApplication.setDesktopFileName("eric6_browser.desktop") 135 QGuiApplication.setDesktopFileName("eric7_browser.desktop")
136 136
137 options = [ 137 options = [
138 ("--config=configDir", 138 ("--config=configDir",
139 "use the given directory as the one containing the config files"), 139 "use the given directory as the one containing the config files"),
140 ("--private", "start the browser in private browsing mode"), 140 ("--private", "start the browser in private browsing mode"),
172 if res > 0: 172 if res > 0:
173 if len(sys.argv) > 1: 173 if len(sys.argv) > 1:
174 client.processArgs(sys.argv[1:]) 174 client.processArgs(sys.argv[1:])
175 sys.exit(0) 175 sys.exit(0)
176 elif res < 0: 176 elif res < 0:
177 print("eric6_browser: {0}".format(client.errstr())) 177 print("eric7_browser: {0}".format(client.errstr()))
178 # __IGNORE_WARNING_M801__ 178 # __IGNORE_WARNING_M801__
179 sys.exit(res) 179 sys.exit(res)
180 180
181 res = Startup.simpleAppStartup(sys.argv, 181 res = Startup.simpleAppStartup(sys.argv,
182 appinfo, 182 appinfo,

eric ide

mercurial