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
+5 -2
View File
@@ -339,8 +339,11 @@ void gui::desktop_handle_mouse(DesktopState* ds) {
menu_cat_expanded[cur_cat] = !menu_cat_expanded[cur_cat];
} else if (!row.is_category) {
if (row.external) {
// Launch external app with user's home dir
montauk::spawn(row.binary_path, ds->home_dir);
if (row.launch_with_home) {
montauk::spawn(row.binary_path, ds->home_dir);
} else {
montauk::spawn(row.binary_path);
}
} else {
// Dispatch embedded app
switch (row.app_id) {