From 019d4c25a9bba89935569fd5940a9bbd10625d11 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 19 Jul 2024 23:40:25 -0700 Subject: [PATCH] fix: Update .desktop packaging (Prepping for https://github.com/zed-industries/zed/pull/14104) (#1506) (#1540) (cherry picked from commit 417da16955e7414b659a05dc4ffecd785e8937e3) Co-authored-by: Cappy Ishihara --- anda/devs/zed/nightly/zed-nightly.spec | 2 ++ anda/devs/zed/preview/zed-preview.spec | 2 ++ anda/devs/zed/stable/zed.spec | 2 ++ 3 files changed, 6 insertions(+) diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 594e233c84..1b63bbdf7b 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -54,6 +54,8 @@ export APP_ID="%app_id" export APP_ICON="%app_id" export APP_NAME="Zed Nightly" export APP_CLI="zed" +export APP="%{_libexecdir}/zed-editor" +export APP_ARGS="%U" export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Nightly from Terra." export ZED_RELEASE_CHANNEL=nightly export BRANDING_LIGHT="#e9aa6a" diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec index ad096ae15e..5b296e367d 100644 --- a/anda/devs/zed/preview/zed-preview.spec +++ b/anda/devs/zed/preview/zed-preview.spec @@ -48,6 +48,8 @@ export APP_ID="%app_id" export APP_ICON="%app_id" export APP_NAME="Zed Preview" export APP_CLI="zed" +export APP="%{_libexecdir}/zed-editor" +export APP_ARGS="%U" export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra." export ZED_RELEASE_CHANNEL=preview export BRANDING_LIGHT="#99c1f1" diff --git a/anda/devs/zed/stable/zed.spec b/anda/devs/zed/stable/zed.spec index 5b9c916e08..9bd9062130 100644 --- a/anda/devs/zed/stable/zed.spec +++ b/anda/devs/zed/stable/zed.spec @@ -50,6 +50,8 @@ export APP_ID="%app_id" export APP_ICON="%app_id" export APP_NAME="Zed Editor" export APP_CLI="zed" +export APP="%{_libexecdir}/zed-editor" +export APP_ARGS="%U" export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed from Terra." export ZED_RELEASE_CHANNEL=stable export BRANDING_LIGHT="#e9aa6a"