From 3f6b5d066b3e15c6f2147c8966cd9ebed4709b26 Mon Sep 17 00:00:00 2001 From: P-M Lejon <15982689+pmex@users.noreply.github.com> Date: Tue, 7 Oct 2025 08:51:09 +0200 Subject: [PATCH 1/2] add macfuse appCustomVersion --- fragments/labels/macfuse.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fragments/labels/macfuse.sh b/fragments/labels/macfuse.sh index 33594a4fe..c789b55b2 100644 --- a/fragments/labels/macfuse.sh +++ b/fragments/labels/macfuse.sh @@ -4,5 +4,10 @@ macfuse) pkgName="Install macFUSE.pkg" downloadURL=$(downloadURLFromGit osxfuse osxfuse) appNewVersion=$(versionFromGit osxfuse osxfuse) + appCustomVersion(){ + if [ -f "/Library/Filesystems/macfuse.fs/Contents/Info.plist" ]; then + defaults read /Library/Filesystems/macfuse.fs/Contents/Info.plist CFBundleShortVersionString + fi + } expectedTeamID="3T5GSNBU6W" ;; From 323f53ca61f0d539664366e6e73481517fbfcfe9 Mon Sep 17 00:00:00 2001 From: P-M Lejon <15982689+pmex@users.noreply.github.com> Date: Mon, 4 May 2026 10:34:05 +0200 Subject: [PATCH 2/2] Changed appCustomVersion into oneliner --- fragments/labels/macfuse.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fragments/labels/macfuse.sh b/fragments/labels/macfuse.sh index c789b55b2..4e092f423 100644 --- a/fragments/labels/macfuse.sh +++ b/fragments/labels/macfuse.sh @@ -4,10 +4,6 @@ macfuse) pkgName="Install macFUSE.pkg" downloadURL=$(downloadURLFromGit osxfuse osxfuse) appNewVersion=$(versionFromGit osxfuse osxfuse) - appCustomVersion(){ - if [ -f "/Library/Filesystems/macfuse.fs/Contents/Info.plist" ]; then - defaults read /Library/Filesystems/macfuse.fs/Contents/Info.plist CFBundleShortVersionString - fi - } + appCustomVersion(){ if [ -f "/Library/Filesystems/macfuse.fs/Contents/Info.plist" ]; then defaults read /Library/Filesystems/macfuse.fs/Contents/Info.plist CFBundleShortVersionString; fi} expectedTeamID="3T5GSNBU6W" ;;