fix: remove hardcoded text editor menu entry, add pass_home_dir flag for manifest.toml files

This commit is contained in:
2026-03-28 09:19:17 +01:00
parent 6106396b52
commit 27b0fef416
9 changed files with 33 additions and 12 deletions
@@ -1028,7 +1028,12 @@ static void filemanager_open_entry(FileManagerState* fm, int idx) {
if (fm->at_apps_view && fm->entry_types[idx] == 6) {
DesktopState* ds = fm->desktop;
if (ds && fm->app_map[idx] >= 0 && fm->app_map[idx] < ds->external_app_count) {
montauk::spawn(ds->external_apps[fm->app_map[idx]].binary_path, ds->home_dir);
const ExternalApp& app = ds->external_apps[fm->app_map[idx]];
if (app.launch_with_home) {
montauk::spawn(app.binary_path, ds->home_dir);
} else {
montauk::spawn(app.binary_path);
}
}
return;
}