From 9c41e348fa965d36b107b3524fe162ef8adc5aa9 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 10 Jun 2026 11:45:31 +0200 Subject: [PATCH] register url scheme "cryptomator" in installers Signed-off-by: Armin Schrenk --- .../common/org.cryptomator.Cryptomator.desktop | 4 ++-- dist/linux/makepkg/PKGBUILD.template | 2 +- dist/mac/resources/Info.plist | 14 ++++++++++++++ dist/win/resources/main.wxs | 15 +++++++++++++++ 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/dist/linux/common/org.cryptomator.Cryptomator.desktop b/dist/linux/common/org.cryptomator.Cryptomator.desktop index 396c3acb7..456eb62e0 100644 --- a/dist/linux/common/org.cryptomator.Cryptomator.desktop +++ b/dist/linux/common/org.cryptomator.Cryptomator.desktop @@ -1,11 +1,11 @@ [Desktop Entry] Name=Cryptomator Comment=Cloud Storage Encryption Utility -Exec=cryptomator %F +Exec=cryptomator %U Icon=org.cryptomator.Cryptomator Terminal=false Type=Application Categories=Utility;Security;FileTools; StartupNotify=true StartupWMClass=org.cryptomator.launcher.Cryptomator$MainApp -MimeType=application/vnd.cryptomator.encrypted;application/vnd.cryptomator.vault; +MimeType=application/vnd.cryptomator.encrypted;application/vnd.cryptomator.vault;x-scheme-handler/cryptomator; diff --git a/dist/linux/makepkg/PKGBUILD.template b/dist/linux/makepkg/PKGBUILD.template index a7051a3d1..9b7b8e8ab 100644 --- a/dist/linux/makepkg/PKGBUILD.template +++ b/dist/linux/makepkg/PKGBUILD.template @@ -11,7 +11,7 @@ pkgdesc="Multiplatform transparent client-side encryption of your files in the c arch=('any') url="https://cryptomator.org/" license=('GPL3') -depends=('fuse3' 'alsa-lib' 'hicolor-icon-theme' 'libxtst' 'libnet' 'libxrender') +depends=('fuse3' 'alsa-lib' 'hicolor-icon-theme' 'libxtst' 'libnet' 'libxrender' 'desktop-file-utils') makedepends=('maven' 'unzip') optdepends=('keepassxc-cryptomator: Use KeePassXC to store vault passwords' 'ttf-hanazono: Install this font when using Japanese system language') _jdkver=26.0.1+8 diff --git a/dist/mac/resources/Info.plist b/dist/mac/resources/Info.plist index 2d5b65247..261bb0851 100644 --- a/dist/mac/resources/Info.plist +++ b/dist/mac/resources/Info.plist @@ -46,6 +46,20 @@ Any + + CFBundleURLTypes + + + CFBundleURLName + org.cryptomator.deeplink + CFBundleTypeRole + Viewer + CFBundleURLSchemes + + cryptomator + + + CFBundleDocumentTypes diff --git a/dist/win/resources/main.wxs b/dist/win/resources/main.wxs index f9d6303e2..6db452590 100644 --- a/dist/win/resources/main.wxs +++ b/dist/win/resources/main.wxs @@ -27,6 +27,7 @@ + @@ -97,6 +98,19 @@ + + + + + + + + + + + + + @@ -126,6 +140,7 @@ +