From 8b7953280a4d753dfe1125c034f1730a01cd1de7 Mon Sep 17 00:00:00 2001 From: LeMoonStar Date: Thu, 10 Oct 2024 22:43:34 +0200 Subject: [PATCH] Change name in .desktop during twilight build --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdee32a70..3b9aecd34 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -322,6 +322,10 @@ jobs: cp configs/branding/${{ inputs.update_branch }}/logo128.png AppDir/usr/share/icons/hicolor/128x128/apps/zen.png cp configs/branding/${{ inputs.update_branch }}/logo128.png AppDir/zen.png && ln -s zen.png AppDir/.DirIcon + if [ "${{ inputs.update_branch }}" = "twilight" ]; then + sed -i -e 's/Name=Zen Browser/name=Zen Twilight/g' AppDir/zen.desktop + fi + APPDIR=AppDir tar -xvf *.tar.* && rm -rf *.tar.* mv zen/* $APPDIR/