From 2075f9aa71d2c25ee2fe52fefce57f0b7d5a5480 Mon Sep 17 00:00:00 2001 From: "marcus.hinz" Date: Sun, 5 Jul 2026 15:33:47 +0200 Subject: [PATCH] =?UTF-8?q?Working-folder-Anzeige=20im=20=E2=9A=99?= =?UTF-8?q?=EF=B8=8E-Dialog:=20Projektordner=20zuerst=20(fest),=20dann=20Z?= =?UTF-8?q?usatzordner=20mit=20Entfernen;=20Label=20oben=20ausgerichtet;?= =?UTF-8?q?=20Projektpfade=20=C3=BCberall=20~-kontrahiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/lib.rs | 2 +- src/components/ProjectList.vue | 7 ++++++- src/style.css | 10 ++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index d91b172..6e0da56 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -375,7 +375,7 @@ fn list_projects_in(paths: &Paths) -> Result, String> { let cfg = read_project_config_in(paths, &name)?; projects.push(Project { running: is_running(&name), - path: dir.to_string_lossy().into_owned(), + path: contract_home(paths, &dir), pool: cfg.pool, terminal: cfg.terminal, name, diff --git a/src/components/ProjectList.vue b/src/components/ProjectList.vue index eda82e6..57a3934 100644 --- a/src/components/ProjectList.vue +++ b/src/components/ProjectList.vue @@ -152,6 +152,7 @@ const THEME_NAMES: [string, string][] = [ interface TerminalSettings { name: string; + path: string; theme: string; icon: string | null; title: string; @@ -169,6 +170,7 @@ async function openSettings(p: Project) { }); settings.value = { name: p.name, + path: p.path, theme: p.terminal.theme ?? "mocha", icon: p.terminal.icon, title: p.terminal.title ?? "", @@ -617,9 +619,12 @@ onUnmounted(() => window.clearInterval(timer)); {{ $t("projects.defaultIcon") }} -