Ignore exceptions
This commit is contained in:
@@ -63,6 +63,7 @@ def download_app(app):
|
||||
|
||||
|
||||
def launchApp():
|
||||
try:
|
||||
with open("OfficialProjects/LAUNCHERFILES/apps.json") as appsfile:
|
||||
apps = json.load(appsfile)
|
||||
name = KOTIKOTlauncher.sender().text()
|
||||
@@ -88,8 +89,8 @@ def launchApp():
|
||||
print(f"---------------- {displayName} ----------------")
|
||||
subprocess.Popen(str(sys.executable + " " if app['runtime'] == "python" else "") + app['run'], cwd=directory,
|
||||
shell=True, close_fds=True)
|
||||
if not app['window']:
|
||||
KOTIKOTreminder.show()
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
# ---------------- Checking buttons ----------------
|
||||
|
||||
Reference in New Issue
Block a user