Merge pull request #3021 from BonnierNews/fix_redshift_AppVersion

Add appCustomVersion to redshift
This commit is contained in:
Gil Burns
2026-06-04 18:16:02 -05:00
committed by GitHub

View File

@@ -1,14 +1,12 @@
redshift)
name="redshift"
appName="Maxon Redshift Installer.app"
blockingProcesses=( "Cinema 4D" )
type="dmg"
packageID="com.redshift3d.redshift"
expectedTeamID="4ZY22YGXQG"
downloadURL=$(curl -fsL https://www.maxon.net/en/downloads | grep -oE '[^"]*redshift[^"]*macos\.dmg' | head -1)
appNewVersion=$(sed -n 's/.*redshift_\([^_]*\).*/\1/p' <<< "${downloadURL}")
appCustomVersion() {/usr/bin/defaults read "/Applications/Maxon Redshift 2026/uninstall.app/Contents/Info.plist" CFBundleVersion }
installerTool="Maxon Redshift Installer.app"
CLIInstaller="Maxon Redshift Installer.app/Contents/MacOS/installbuilder.sh"
# Customize --enable-components for other DCC integrations (Maya, Vectorworks, ZBrush)
CLIArguments=( --mode unattended --enable-components Cinema4DGroup,PluginC4D2023,PluginC4D2024,PluginC4D2025,PluginC4D2026 )
;;