From 77abd00977292cd9fce4227a07fb932d6e65a882 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Thu, 18 Jul 2024 11:43:09 +0700 Subject: [PATCH] fix: Update .desktop packaging (Prepping for https://github.com/zed-industries/zed/pull/14104) (#1506) (cherry picked from commit 417da16955e7414b659a05dc4ffecd785e8937e3) --- 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 b8431ec1ba..25b232a22a 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 e8130b3de0..bb4f824c67 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"