diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a6502d201..a5a241da4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -199,10 +199,10 @@ jobs:
if-no-files-found: error
#
-# Linux PPA Source Package
+# Debian Package
#
- ppa:
- name: Upload source package to PPA
+ deb:
+ name: Create Debian Package
needs: [buildkit, metadata]
runs-on: ubuntu-18.04
steps:
@@ -210,26 +210,26 @@ jobs:
- name: install build tools
run: |
sudo apt-get update
- sudo apt-get install debhelper devscripts dput
+ sudo apt-get install debhelper devscripts
- name: Download linux-buildkit
uses: actions/download-artifact@v2
with:
name: linux-buildkit
path: pkgdir
- - name: create orig.tar.gz
- run: tar -cJf cryptomator_${{ needs.metadata.outputs.ppaVerStr }}.orig.tar.xz -C pkgdir .
+ - name: create orig.tar.gz with common/ libs/ mods/
+ run: |
+ cp -r dist/linux/common/ pkgdir
+ tar -cJf cryptomator_${{ needs.metadata.outputs.ppaVerStr }}.orig.tar.xz -C pkgdir .
- name: patch and rename pkgdir
run: |
cp -r dist/linux/debian/ pkgdir
- cp -r dist/linux/resources/ pkgdir
export RFC2822_TIMESTAMP=`date --rfc-2822`
- envsubst '${VERSION_STR} ${VERSION_NUM} ${REVISION_NUM}' < dist/linux/debian/rules > pkgdir/debian/rules
- envsubst '${VERSION_STR}' < dist/linux/debian/org.cryptomator.Cryptomator.desktop > pkgdir/debian/org.cryptomator.Cryptomator.desktop
+ envsubst '${SEMVER_STR} ${VERSION_NUM} ${REVISION_NUM}' < dist/linux/debian/rules > pkgdir/debian/rules
envsubst '${PPA_VERSION} ${RFC2822_TIMESTAMP}' < dist/linux/debian/changelog > pkgdir/debian/changelog
find . -name "*.jar" >> pkgdir/debian/source/include-binaries
mv pkgdir cryptomator_${{ needs.metadata.outputs.ppaVerStr }}
env:
- VERSION_STR: ${{ needs.metadata.outputs.semVerStr }}
+ SEMVER_STR: ${{ needs.metadata.outputs.semVerStr }}
VERSION_NUM: ${{ needs.metadata.outputs.semVerNum }}
REVISION_NUM: ${{ needs.metadata.outputs.revNum }}
PPA_VERSION: ${{ needs.metadata.outputs.ppaVerStr }}-0ppa1
@@ -241,7 +241,9 @@ jobs:
GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
- name: debuild
- run: debuild -S -sa -d
+ run: |
+ debuild -S -sa -d
+ debuild -b -sa -d
env:
DEBSIGN_PROGRAM: gpg --batch --pinentry-mode loopback
DEBSIGN_KEYID: 615D449FE6E6A235
@@ -249,17 +251,38 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
- name: linux-deb-source-package
+ name: linux-deb-package
path: |
cryptomator_*.dsc
cryptomator_*.orig.tar.xz
cryptomator_*.debian.tar.xz
- cryptomator_*_source.changes
cryptomator_*_source.buildinfo
- - name: dput to beta repo
- run: dput ppa:sebastian-stenzel/cryptomator-beta cryptomator_${PPA_VERSION}_source.changes
+ cryptomator_*_source.changes
+ cryptomator_*_amd64.deb
+
+#
+# Upload Source Package to PPA
+#
+ ppa:
+ name: Upload Source Package to PPA
+ needs: [deb]
+ runs-on: ubuntu-18.04
+ steps:
+ - name: install dput
+ run: |
+ sudo apt-get update
+ sudo apt-get install dput
+ - name: import public key
+ run: curl -sSL ${GPG_PUBLIC_KEY_URL} | gpg --import -
env:
- PPA_VERSION: ${{ needs.metadata.outputs.ppaVerStr }}-0ppa1
+ GPG_PUBLIC_KEY_URL: https://gist.githubusercontent.com/cryptobot/211111cf092037490275f39d408f461a/raw/E6E6A235.asc
+ - name: download linux-deb-package
+ uses: actions/download-artifact@v2
+ with:
+ name: linux-deb-package
+ path: .
+ - name: dput to beta repo
+ run: dput ppa:sebastian-stenzel/cryptomator-beta cryptomator_*_source.changes
#
# Linux Cryptomator.AppImage
@@ -282,6 +305,12 @@ jobs:
mv appdir/Cryptomator Cryptomator.AppDir
cp -r dist/linux/appimage/resources/AppDir/* Cryptomator.AppDir/
envsubst '${REVISION_NO} ${SEMVER_STR}' < dist/linux/appimage/resources/AppDir/bin/cryptomator.sh > Cryptomator.AppDir/bin/cryptomator.sh
+ cp dist/linux/common/org.cryptomator.Cryptomator256.png Cryptomator.AppDir/usr/share/icons/hicolor/256x256/apps/org.cryptomator.Cryptomator.png
+ cp dist/linux/common/org.cryptomator.Cryptomator512.png Cryptomator.AppDir/usr/share/icons/hicolor/512x512/apps/org.cryptomator.Cryptomator.png
+ cp dist/linux/common/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg
+ cp dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml Cryptomator.AppDir/usr/share/metainfo/org.cryptomator.Cryptomator.metainfo.xml
+ cp dist/linux/common/org.cryptomator.Cryptomator.desktop Cryptomator.AppDir/usr/share/applications/org.cryptomator.Cryptomator.desktop
+ cp dist/linux/common/application-vnd.cryptomator.vault.xml Cryptomator.AppDir/usr/share/mime/packages/application-vnd.cryptomator.vault.xml
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/org.cryptomator.Cryptomator.svg
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/Cryptomator.svg
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/.DirIcon
@@ -642,6 +671,10 @@ jobs:
- uses: actions/checkout@v2
- name: Create tarball
run: git archive --prefix="cryptomator-${{ needs.metadata.outputs.semVerStr }}/" -o "cryptomator-${{ needs.metadata.outputs.semVerStr }}.tar.gz" ${{ github.ref }}
+ - name: Download Debian package
+ uses: actions/download-artifact@v2
+ with:
+ name: linux-deb-package
- name: Download linux appimage
uses: actions/download-artifact@v2
with:
@@ -661,7 +694,7 @@ jobs:
- name: Create detached GPG signature for all release files with key 615D449FE6E6A235
run: |
echo "${GPG_PRIVATE_KEY}" | gpg --batch --quiet --import
- for FILE in `find . -name "*.AppImage" -o -name "*.dmg" -o -name "*.msi" -o -name "*.exe" -o -name "*.zsync" -o -name "*.tar.gz"`; do
+ for FILE in `find . -name "*.AppImage" -o -name "*.deb" -o -name "*.dmg" -o -name "*.exe" -o -name "*.msi" -o -name "*.zsync" -o -name "*.tar.gz"`; do
echo "${GPG_PASSPHRASE}" | gpg --batch --quiet --passphrase-fd 0 --pinentry-mode loopback -u 615D449FE6E6A235 --detach-sign -a ${FILE}
done
env:
@@ -669,7 +702,7 @@ jobs:
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
- name: Compute SHA256 checksums of release artifacts
run: |
- SHA256_SUMS=`find . -name "*.AppImage" -o -name "*.dmg" -o -name "*.msi" -o -name "*.exe" -o -name "*.tar.gz" | xargs sha256sum`
+ SHA256_SUMS=`find . -name "*.AppImage" -o -name "*.deb" -o -name "*.dmg" -o -name "*.exe" -o -name "*.msi" -o -name "*.tar.gz" | xargs sha256sum`
echo "SHA256_SUMS<> $GITHUB_ENV
echo "${SHA256_SUMS}" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
@@ -685,6 +718,7 @@ jobs:
*.AppImage
*.zsync
*.asc
+ *.deb
*.dmg
*.msi
*.exe
diff --git a/dist/linux/appimage/build.sh b/dist/linux/appimage/build.sh
index af1f2291f..6dd670df2 100755
--- a/dist/linux/appimage/build.sh
+++ b/dist/linux/appimage/build.sh
@@ -9,6 +9,7 @@ command -v mvn >/dev/null 2>&1 || { echo >&2 "mvn not found."; exit 1; }
command -v curl >/dev/null 2>&1 || { echo >&2 "curl not found."; exit 1; }
VERSION=$(mvn -f ../../../pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)
+SEMVER_STR=${VERSION}
# compile
mvn -B -f ../../../pom.xml clean package -DskipTests -Plinux
@@ -54,6 +55,12 @@ mv Cryptomator Cryptomator.AppDir
cp -r resources/AppDir/* Cryptomator.AppDir/
chmod +x Cryptomator.AppDir/lib/runtime/bin/java
envsubst '${REVISION_NO}' < resources/AppDir/bin/cryptomator.sh > Cryptomator.AppDir/bin/cryptomator.sh
+cp ../common/org.cryptomator.Cryptomator256.png Cryptomator.AppDir/usr/share/icons/hicolor/256x256/apps/org.cryptomator.Cryptomator.png
+cp ../common/org.cryptomator.Cryptomator512.png Cryptomator.AppDir/usr/share/icons/hicolor/512x512/apps/org.cryptomator.Cryptomator.png
+cp ../common/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg
+cp ../common/org.cryptomator.Cryptomator.desktop Cryptomator.AppDir/usr/share/applications/org.cryptomator.Cryptomator.desktop
+cp ../common/org.cryptomator.Cryptomator.metainfo.xml Cryptomator.AppDir/usr/share/metainfo/org.cryptomator.Cryptomator.metainfo.xml
+cp ../common/application-vnd.cryptomator.vault.xml Cryptomator.AppDir/usr/share/mime/packages/application-vnd.cryptomator.vault.xml
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/org.cryptomator.Cryptomator.svg
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/Cryptomator.svg
ln -s usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg Cryptomator.AppDir/.DirIcon
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/applications/.gitkeep b/dist/linux/appimage/resources/AppDir/usr/share/applications/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/256x256/apps/.gitkeep b/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/256x256/apps/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/512x512/apps/.gitkeep b/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/512x512/apps/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/scalable/apps/.gitkeep b/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/scalable/apps/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg b/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg
deleted file mode 100644
index b2e12a3c3..000000000
--- a/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/scalable/apps/org.cryptomator.Cryptomator.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/metainfo/.gitkeep b/dist/linux/appimage/resources/AppDir/usr/share/metainfo/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/metainfo/org.cryptomator.Cryptomator.appdata.xml b/dist/linux/appimage/resources/AppDir/usr/share/metainfo/org.cryptomator.Cryptomator.appdata.xml
deleted file mode 100644
index ad4af6c70..000000000
--- a/dist/linux/appimage/resources/AppDir/usr/share/metainfo/org.cryptomator.Cryptomator.appdata.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
- org.cryptomator.Cryptomator
- FSFAP
- GPL-3.0-or-later
- Cryptomator
- Multi-platform client-side encryption tool optimized for cloud storages
-
-
- Cryptomator offers multi-platform transparent client-side encryption of your files in the cloud.
-
-
- Features:
-
- Works with Dropbox, Google Drive, OneDrive, ownCloud, Nextcloud and any other cloud storage service which synchronizes with a local directory
- Open Source means: No backdoors, control is better than trust
- Client-side: No accounts, no data shared with any online service
- Totally transparent: Just work on the virtual drive as if it were a USB flash drive
- AES encryption with 256-bit key length
- File names get encrypted
- Folder structure gets obfuscated
- Use as many vaults in your Dropbox as you want, each having individual passwords
- One thousand commits for the security of your data!! :tada:
-
-
-
- Privacy:
-
- 256-bit keys (unlimited strength policy bundled with native binaries)
- Scrypt key derivation
- Cryptographically secure random numbers for salts, IVs and the masterkey of course
- Sensitive data is wiped from the heap asap
- Lightweight: Complexity kills security
-
-
-
- Consistency:
-
- HMAC over file contents to recognize changed ciphertext before decryption
- I/O operations are transactional and atomic, if the filesystems support it
- Each file contains all information needed for decryption (except for the key of course), no common metadata means no Single Point of Failure
-
-
-
-
- Office
- Security
- FileTools
- Java
-
- http://cryptomator.org
- https://github.com/cryptomator/cryptomator/issues
- https://community.cryptomator.org/c/kb/faq
- https://community.cryptomator.org/
- https://cryptomator.org/
-
- none
- none
- none
- none
- mild
-
- Cryptomator
-
- cryptomator
-
- org.cryptomator.Cryptomator.desktop
-
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/mime/packages/.gitkeep b/dist/linux/appimage/resources/AppDir/usr/share/mime/packages/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/dist/linux/debian/cryptomator-vault.xml b/dist/linux/common/application-vnd.cryptomator.vault.xml
similarity index 77%
rename from dist/linux/debian/cryptomator-vault.xml
rename to dist/linux/common/application-vnd.cryptomator.vault.xml
index eeb4bc537..3b602f230 100644
--- a/dist/linux/debian/cryptomator-vault.xml
+++ b/dist/linux/common/application-vnd.cryptomator.vault.xml
@@ -1,6 +1,6 @@
-
+
Cryptomator Vault Metadata
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/applications/org.cryptomator.Cryptomator.desktop b/dist/linux/common/org.cryptomator.Cryptomator.desktop
similarity index 71%
rename from dist/linux/appimage/resources/AppDir/usr/share/applications/org.cryptomator.Cryptomator.desktop
rename to dist/linux/common/org.cryptomator.Cryptomator.desktop
index 3e1b34830..1872b9f38 100644
--- a/dist/linux/appimage/resources/AppDir/usr/share/applications/org.cryptomator.Cryptomator.desktop
+++ b/dist/linux/common/org.cryptomator.Cryptomator.desktop
@@ -6,5 +6,6 @@ Icon=org.cryptomator.Cryptomator
Terminal=false
Type=Application
Categories=Utility;Security;FileTools;
+StartupNotify=true
StartupWMClass=org.cryptomator.launcher.Cryptomator
-MimeType=application/vnd.cryptomator.encrypted;application/x-vnd.cryptomator.vault-metadata;
+MimeType=application/vnd.cryptomator.encrypted;application/vnd.cryptomator.vault;
diff --git a/dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml b/dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml
new file mode 100644
index 000000000..1c3ae9c27
--- /dev/null
+++ b/dist/linux/common/org.cryptomator.Cryptomator.metainfo.xml
@@ -0,0 +1,71 @@
+
+
+
+ org.cryptomator.Cryptomator
+ FSFAP
+ GPL-3.0-or-later
+ Cryptomator
+ Multi-platform client-side encryption tool optimized for cloud storages
+
+
+
+ Cryptomator provides transparent, client-side encryption for your cloud. Protect your documents from unauthorized
+ access. Cryptomator is free and open source software, so you can rest assured there are no backdoors.
+
+
+ Cryptomator encrypts file contents and names using AES. Your passphrase is protected against bruteforcing attempts
+ using scrypt. Directory structures get obfuscated. The only thing which cannot be encrypted without breaking your
+ cloud synchronization is the modification date of your files.
+
+
+ Cryptomator is a free and open source software licensed under the GPLv3. This allows anyone to check our code. It
+ is impossible to introduce backdoors for third parties. Also we cannot hide vulnerabilities. And the best thing
+ is: There is no need to trust us, as you can control us!
+
+
+ Vendor lock-ins are impossible. Even if we decided to stop development: The source code is already cloned by
+ hundreds of other developers. As you don't need an account, you will never stand in front of locked doors.
+
+
+
+
+ Office
+ Security
+ FileTools
+
+
+ org.cryptomator.Cryptomator.desktop
+
+ cryptomator
+ application/vnd.cryptomator.vault
+ application/vnd.cryptomator.encrypted
+
+
+
+
+ Light theme
+ https://cryptomator.org/presskit/linux-screenshot-1.png
+
+
+ Dark theme
+ https://cryptomator.org/presskit/linux-screenshot-2.png
+
+
+
+ https://cryptomator.org/
+ https://github.com/cryptomator/cryptomator/issues/
+ https://cryptomator.org/donate
+ https://community.cryptomator.org/c/kb/faq
+ https://community.cryptomator.org/
+ https://translate.cryptomator.org
+
+ Skymatic GmbH
+
+
+ mild
+
+
+
+
+
+
diff --git a/dist/linux/debian/org.cryptomator.Cryptomator.svg b/dist/linux/common/org.cryptomator.Cryptomator.svg
similarity index 99%
rename from dist/linux/debian/org.cryptomator.Cryptomator.svg
rename to dist/linux/common/org.cryptomator.Cryptomator.svg
index 19d80d49c..c76d99fb9 100644
--- a/dist/linux/debian/org.cryptomator.Cryptomator.svg
+++ b/dist/linux/common/org.cryptomator.Cryptomator.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/256x256/apps/org.cryptomator.Cryptomator.png b/dist/linux/common/org.cryptomator.Cryptomator256.png
similarity index 100%
rename from dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/256x256/apps/org.cryptomator.Cryptomator.png
rename to dist/linux/common/org.cryptomator.Cryptomator256.png
diff --git a/dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/512x512/apps/org.cryptomator.Cryptomator.png b/dist/linux/common/org.cryptomator.Cryptomator512.png
similarity index 100%
rename from dist/linux/appimage/resources/AppDir/usr/share/icons/hicolor/512x512/apps/org.cryptomator.Cryptomator.png
rename to dist/linux/common/org.cryptomator.Cryptomator512.png
diff --git a/dist/linux/debian/cryptomator.install b/dist/linux/debian/cryptomator.install
index 0d5e0b31c..d3ff8cf1f 100644
--- a/dist/linux/debian/cryptomator.install
+++ b/dist/linux/debian/cryptomator.install
@@ -1,7 +1,8 @@
cryptomator usr/lib
debian/cryptomator.sh usr/lib/cryptomator/bin
-debian/org.cryptomator.Cryptomator.desktop usr/share/applications
-debian/org.cryptomator.Cryptomator.svg usr/share/icons/hicolor/scalable/apps
-debian/org.cryptomator.Cryptomator.png usr/share/icons/hicolor/512x512/apps
-debian/org.cryptomator.Cryptomator.appdata.xml usr/share/metainfo
-debian/cryptomator-vault.xml usr/share/mime/packages
\ No newline at end of file
+common/org.cryptomator.Cryptomator.desktop usr/share/applications
+common/org.cryptomator.Cryptomator.svg usr/share/icons/hicolor/scalable/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
diff --git a/dist/linux/debian/org.cryptomator.Cryptomator.appdata.xml b/dist/linux/debian/org.cryptomator.Cryptomator.appdata.xml
deleted file mode 100644
index ad4af6c70..000000000
--- a/dist/linux/debian/org.cryptomator.Cryptomator.appdata.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
- org.cryptomator.Cryptomator
- FSFAP
- GPL-3.0-or-later
- Cryptomator
- Multi-platform client-side encryption tool optimized for cloud storages
-
-
- Cryptomator offers multi-platform transparent client-side encryption of your files in the cloud.
-
-
- Features:
-
- Works with Dropbox, Google Drive, OneDrive, ownCloud, Nextcloud and any other cloud storage service which synchronizes with a local directory
- Open Source means: No backdoors, control is better than trust
- Client-side: No accounts, no data shared with any online service
- Totally transparent: Just work on the virtual drive as if it were a USB flash drive
- AES encryption with 256-bit key length
- File names get encrypted
- Folder structure gets obfuscated
- Use as many vaults in your Dropbox as you want, each having individual passwords
- One thousand commits for the security of your data!! :tada:
-
-
-
- Privacy:
-
- 256-bit keys (unlimited strength policy bundled with native binaries)
- Scrypt key derivation
- Cryptographically secure random numbers for salts, IVs and the masterkey of course
- Sensitive data is wiped from the heap asap
- Lightweight: Complexity kills security
-
-
-
- Consistency:
-
- HMAC over file contents to recognize changed ciphertext before decryption
- I/O operations are transactional and atomic, if the filesystems support it
- Each file contains all information needed for decryption (except for the key of course), no common metadata means no Single Point of Failure
-
-
-
-
- Office
- Security
- FileTools
- Java
-
- http://cryptomator.org
- https://github.com/cryptomator/cryptomator/issues
- https://community.cryptomator.org/c/kb/faq
- https://community.cryptomator.org/
- https://cryptomator.org/
-
- none
- none
- none
- none
- mild
-
- Cryptomator
-
- cryptomator
-
- org.cryptomator.Cryptomator.desktop
-
diff --git a/dist/linux/debian/org.cryptomator.Cryptomator.desktop b/dist/linux/debian/org.cryptomator.Cryptomator.desktop
deleted file mode 100644
index d8a5925bd..000000000
--- a/dist/linux/debian/org.cryptomator.Cryptomator.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=Cryptomator
-Version=${VERSION_STR}
-Comment=Cloud Storage Encryption Utility
-Exec=/usr/bin/cryptomator %f
-Icon=org.cryptomator.Cryptomator
-Terminal=false
-Type=Application
-Categories=Utility;Security;FileTools;
-StartupWMClass=org.cryptomator.launcher.Cryptomator
-MimeType=application/vnd.cryptomator.encrypted;application/x-vnd.cryptomator.vault-metadata;
\ No newline at end of file
diff --git a/dist/linux/debian/org.cryptomator.Cryptomator.png b/dist/linux/debian/org.cryptomator.Cryptomator.png
deleted file mode 100644
index 9c8635111..000000000
Binary files a/dist/linux/debian/org.cryptomator.Cryptomator.png and /dev/null differ
diff --git a/dist/linux/debian/postinst b/dist/linux/debian/postinst
index 2af574c6b..5668a5e29 100644
--- a/dist/linux/debian/postinst
+++ b/dist/linux/debian/postinst
@@ -24,7 +24,7 @@ case "$1" in
mkdir -p /usr/share/desktop-directories
fi
xdg-desktop-menu install --novendor /usr/share/applications/org.cryptomator.Cryptomator.desktop
- xdg-mime install /usr/share/mime/packages/cryptomator-vault.xml
+ xdg-mime install /usr/share/mime/packages/application-vnd.cryptomator.vault.xml
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/dist/linux/debian/prerm b/dist/linux/debian/prerm
index cace6816e..41a54cf33 100644
--- a/dist/linux/debian/prerm
+++ b/dist/linux/debian/prerm
@@ -22,7 +22,7 @@ case "$1" in
echo Removing shortcut
xdg-desktop-menu uninstall --novendor /usr/share/applications/org.cryptomator.Cryptomator.desktop
- xdg-mime uninstall /usr/share/mime/packages/cryptomator-vault.xml
+ xdg-mime uninstall /usr/share/mime/packages/application-vnd.cryptomator.vault.xml
;;
failed-upgrade)
diff --git a/dist/linux/debian/rules b/dist/linux/debian/rules
index b381a2331..e4f824394 100755
--- a/dist/linux/debian/rules
+++ b/dist/linux/debian/rules
@@ -11,8 +11,11 @@ override_dh_auto_clean:
rm -rf runtime
rm -rf cryptomator
rm -rf debian/cryptomator
+ rm -rf resources
override_dh_auto_build:
+ mkdir resources
+ ln -s ../common/org.cryptomator.Cryptomator512.png resources/cryptomator.png
jlink \
--output runtime \
--add-modules java.base,java.desktop,java.logging,java.naming,java.net.http,java.scripting,java.sql,java.xml,jdk.unsupported,jdk.crypto.ec,jdk.accessibility,jdk.management.jfr \
@@ -39,8 +42,8 @@ override_dh_auto_build:
--java-options "-Dcryptomator.ipcSocketPath=\"~/.config/Cryptomator/ipc.socket\"" \
--java-options "-Dcryptomator.mountPointsDir=\"~/.local/share/Cryptomator/mnt\"" \
--java-options "-Dcryptomator.showTrayIcon=false" \
- --java-options "-Dcryptomator.buildNumber=\"ppa-${REVISION_NUM}\"" \
- --java-options "-Dcryptomator.appVersion=\"${VERSION_STR}\"" \
+ --java-options "-Dcryptomator.buildNumber=\"deb-${REVISION_NUM}\"" \
+ --java-options "-Dcryptomator.appVersion=\"${SEMVER_STR}\"" \
--app-version "${VERSION_NUM}.${REVISION_NUM}" \
--resource-dir resources \
--verbose
diff --git a/dist/linux/debian/source/include-binaries b/dist/linux/debian/source/include-binaries
index adc7cabd8..8b9254c65 100644
--- a/dist/linux/debian/source/include-binaries
+++ b/dist/linux/debian/source/include-binaries
@@ -1,2 +1,2 @@
-debian/org.cryptomator.Cryptomator.png
-resources/cryptomator.png
+common/org.cryptomator.Cryptomator256.png
+common/org.cryptomator.Cryptomator512.png