Skip to content

Commit 2383409

Browse files
Store app name also for apps started by dir
1 parent 096f60a commit 2383409

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal_filesystem/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ def start_app_by_name(app_name, is_launcher=False):
381381

382382
def start_app(app_dir, is_launcher=False):
383383
print(f"/main.py start_app({app_dir},{is_launcher}")
384+
global foreground_app_name
385+
foreground_app_name = app_dir # would be better to store only the app name...
384386
manifest_path = f"{app_dir}/META-INF/MANIFEST.MF"
385387
app_name, start_script = parse_manifest(manifest_path)
386388
start_script_fullpath = f"{app_dir}/{start_script}"

0 commit comments

Comments
 (0)