From 9d6ac8a10727caf6c7ff7e02500f01b88e2b238f Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Thu, 24 Jul 2025 08:44:55 -0700 Subject: [PATCH] Add template.desktop to make icon work until we can upgrade Tauri CLI --- src-tauri/tauri.linux.conf.json | 12 +++++++++++- src-tauri/template.desktop | 9 +++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src-tauri/template.desktop diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.json index 24268fdc..36fb002c 100644 --- a/src-tauri/tauri.linux.conf.json +++ b/src-tauri/tauri.linux.conf.json @@ -1,3 +1,13 @@ { - "productName": "yaak" + "productName": "yaak", + "bundle": { + "linux": { + "deb": { + "desktopTemplate": "./template.desktop" + }, + "rpm": { + "desktopTemplate": "./template.desktop" + } + } + } } diff --git a/src-tauri/template.desktop b/src-tauri/template.desktop new file mode 100644 index 00000000..902aa163 --- /dev/null +++ b/src-tauri/template.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Categories={{categories}} +Comment={{comment}} +Exec={{exec}} +Icon={{icon}} +Name={{name}} +StartupWMClass={{exec}} +Terminal=false +Type=Application