From 641b21a1441faa50a530bd12133e0c12fcfcd3fb Mon Sep 17 00:00:00 2001 From: Ralph Plawetzki Date: Fri, 2 Jun 2023 06:31:35 +0200 Subject: [PATCH] Symbolic icons for the ppa --- .github/workflows/debian.yml | 3 ++- dist/linux/debian/cryptomator.install | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) mode change 100644 => 100755 dist/linux/debian/cryptomator.install diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index bd353a434..31bc37c77 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -45,7 +45,7 @@ jobs: run: | sudo add-apt-repository ppa:coffeelibs/openjdk sudo apt-get update - sudo apt-get install debhelper devscripts dput coffeelibs-jdk-${{ env.JAVA_VERSION }} libgtk2.0-0 + sudo apt-get install debhelper devscripts dh-exec dput coffeelibs-jdk-${{ env.JAVA_VERSION }} libgtk2.0-0 - name: Setup Java uses: actions/setup-java@v3 with: @@ -95,6 +95,7 @@ jobs: tar -cJf cryptomator_${{ inputs.ppaver }}.orig.tar.xz -C pkgdir . - name: Patch and rename pkgdir run: | + chmod a+x dist/linux/debian/cryptomator.install cp -r dist/linux/debian/ pkgdir export RFC2822_TIMESTAMP=`date --rfc-2822` envsubst '${SEMVER_STR} ${VERSION_NUM} ${REVISION_NUM}' < dist/linux/debian/rules > pkgdir/debian/rules diff --git a/dist/linux/debian/cryptomator.install b/dist/linux/debian/cryptomator.install old mode 100644 new mode 100755 index 60e9a2f3c..adbfcd4ff --- a/dist/linux/debian/cryptomator.install +++ b/dist/linux/debian/cryptomator.install @@ -1,11 +1,12 @@ +#!/usr/bin/dh-exec cryptomator usr/lib common/org.cryptomator.Cryptomator.desktop usr/share/applications common/org.cryptomator.Cryptomator.svg usr/share/icons/hicolor/scalable/apps common/org.cryptomator.Cryptomator.tray.svg usr/share/icons/hicolor/scalable/apps common/org.cryptomator.Cryptomator.tray-unlocked.svg usr/share/icons/hicolor/scalable/apps -common/org.cryptomator.Cryptomator.tray.svg usr/share/icons/hicolor/symbolic/apps -common/org.cryptomator.Cryptomator.tray-unlocked.svg usr/share/icons/hicolor/symbolic/apps common/org.cryptomator.Cryptomator256.png usr/share/icons/hicolor/256x256/apps common/org.cryptomator.Cryptomator512.png usr/share/icons/hicolor/512x512/apps common/org.cryptomator.Cryptomator.metainfo.xml usr/share/metainfo -common/application-vnd.cryptomator.vault.xml usr/share/mime/packages \ No newline at end of file +common/application-vnd.cryptomator.vault.xml usr/share/mime/packages +common/org.cryptomator.Cryptomator.tray.svg => usr/share/icons/hicolor/symbolic/apps/org.cryptomator.Cryptomator.tray-symbolic.svg +common/org.cryptomator.Cryptomator.tray-unlocked.svg => usr/share/icons/hicolor/symbolic/apps/org.cryptomator.Cryptomator.tray-unlocked-symbolic.svg \ No newline at end of file