Store app name also for apps started by dir

This commit is contained in:
Thomas Farstrike
2025-05-06 18:22:05 +02:00
parent 096f60a746
commit 2383409abd
+2
View File
@@ -381,6 +381,8 @@ def start_app_by_name(app_name, is_launcher=False):
def start_app(app_dir, is_launcher=False):
print(f"/main.py start_app({app_dir},{is_launcher}")
global foreground_app_name
foreground_app_name = app_dir # would be better to store only the app name...
manifest_path = f"{app_dir}/META-INF/MANIFEST.MF"
app_name, start_script = parse_manifest(manifest_path)
start_script_fullpath = f"{app_dir}/{start_script}"