|
|
|
@ -288,6 +288,11 @@ class MainApp(App):
|
|
|
|
|
metavar='PATH',
|
|
|
|
|
default=defaultLibDir,
|
|
|
|
|
help="Path to noisicaa's libraries (default: {})".format(config.LIB_DIR))
|
|
|
|
|
if 'APPDIR' in os.environ:
|
|
|
|
|
parser.add_argument(
|
|
|
|
|
'--shell',
|
|
|
|
|
action='store_true',
|
|
|
|
|
default=False)
|
|
|
|
|
parser.add_argument(
|
|
|
|
|
'path',
|
|
|
|
|
metavar="PROJECT",
|
|
|
|
@ -305,6 +310,10 @@ class MainApp(App):
|
|
|
|
|
if not self.__libDir.endswith('/'):
|
|
|
|
|
self.__libDir += '/'
|
|
|
|
|
|
|
|
|
|
if getattr(args, 'shell', False):
|
|
|
|
|
os.chdir(os.environ['APPDIR'])
|
|
|
|
|
os.execlp('bash', 'bash')
|
|
|
|
|
|
|
|
|
|
def __qmlEngineWarnings(self, warnings: List[QtQml.QQmlError]) -> None:
|
|
|
|
|
qmlLogger = logging.getLogger('noisicaa.ui.qml')
|
|
|
|
|
for warning in warnings:
|
|
|
|
|