227 options) |
227 options) |
228 |
228 |
229 if not Globals.checkBlacklistedVersions(): |
229 if not Globals.checkBlacklistedVersions(): |
230 sys.exit(100) |
230 sys.exit(100) |
231 |
231 |
|
232 from Toolbox import Startup |
|
233 # set the library paths for plugins |
|
234 Startup.setLibraryPaths() |
|
235 |
232 app = E5Application(sys.argv) |
236 app = E5Application(sys.argv) |
233 |
|
234 from Toolbox import Startup |
|
235 ddindex = Startup.handleArgs(sys.argv, appinfo) |
237 ddindex = Startup.handleArgs(sys.argv, appinfo) |
236 |
238 |
237 logging.debug("Importing Preferences") |
239 logging.debug("Importing Preferences") |
238 import Preferences |
240 import Preferences |
239 |
241 |
240 if Preferences.getUI("SingleApplicationMode"): |
242 if Preferences.getUI("SingleApplicationMode"): |
241 handleSingleApplication(ddindex) |
243 handleSingleApplication(ddindex) |
242 |
244 |
243 # set the library paths for plugins |
|
244 Startup.setLibraryPaths() |
|
245 |
|
246 # set the search path for icons |
245 # set the search path for icons |
247 Startup.initializeResourceSearchPath() |
246 Startup.initializeResourceSearchPath() |
248 |
247 |
249 # generate and show a splash window, if not suppressed |
248 # generate and show a splash window, if not suppressed |
250 from UI.SplashScreen import SplashScreen, NoneSplashScreen |
249 from UI.SplashScreen import SplashScreen, NoneSplashScreen |