more labels

Adding a few labels to see it in a bigger picture
This commit is contained in:
Søren Theilgaard
2021-11-12 09:51:52 +01:00
parent c20ba0274b
commit 4aa7cd7793
4 changed files with 36 additions and 3 deletions

View File

@@ -428,8 +428,11 @@ mountDMG() {
installFromDMG() {
mountDMG
if [[ -z $CLIInstaller ]]; then
installAppWithPath "$dmgmount/$appName"
else
installAppWithPath "$dmgmount/$CLIInstaller"
fi
}
installFromPKG() {

View File

@@ -1,6 +1,6 @@
adobecreativeclouddesktop)
name="Creative Cloud"
appName="Install.app"
name="Adobe Creative Cloud"
#appName="Install.app"
type="dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL=$(curl -fs "https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html" | grep -o "https*.*macarm64.*dmg" | cut -d '"' -f1 | head -1)

View File

@@ -0,0 +1,13 @@
parallelsdesktop)
name="Parallels Desktop"
#appName="Install.app"
type="dmg"
downloadURL=$(curl -fs https://update.parallels.com/desktop/v17/parallels/parallels_updates.xml | xpath '(//ParallelsUpdates/Product/Version/Update/FilePath)[1]' 2>/dev/null | grep -oi "https*.*\.dmg")
appNewVersion=$(curl -fs https://update.parallels.com/desktop/v17/parallels/parallels_updates.xml | xpath '(//ParallelsUpdates/Product/Version/Update/FilePath)[1]' 2>/dev/null | grep -oi "https*.*\.dmg" | cut -d "/" -f6 | cut -d "-" -f1)
expectedTeamID="4C6364ACXT"
CLIInstaller="Install.app/Contents/MacOS/Install"
CLIArguments=(install -t "/Applications/Parallels Desktop.app")
#Company="Parallels"
#PatchSkip="YES"
;;

View File

@@ -0,0 +1,17 @@
parallelsdesktop16)
name="Parallels Desktop"
#appName="Install.app"
type="dmg"
if [[ $(arch) == i386 ]]; then
downloadURL="https://www.parallels.com/directdownload/pd16/intel/?experience=enter_key"
elif [[ $(arch) == arm64 ]]; then
downloadURL="https://www.parallels.com/directdownload/pd16/m1/?experience=enter_key"
fi
appNewVersion=$( curl -fsIL "$downloadURL" | grep -i "^location" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)-[0-9]*\..*/\1/g' )
expectedTeamID="4C6364ACXT"
CLIInstaller="Install.app/Contents/MacOS/Install"
CLIArguments=(install -t "/Applications/Parallels Desktop.app")
#Company="Parallels"
#PatchSkip="YES"
;;