mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
more labels
Adding a few labels to see it in a bigger picture
This commit is contained in:
@@ -428,8 +428,11 @@ mountDMG() {
|
||||
|
||||
installFromDMG() {
|
||||
mountDMG
|
||||
|
||||
if [[ -z $CLIInstaller ]]; then
|
||||
installAppWithPath "$dmgmount/$appName"
|
||||
else
|
||||
installAppWithPath "$dmgmount/$CLIInstaller"
|
||||
fi
|
||||
}
|
||||
|
||||
installFromPKG() {
|
||||
|
||||
@@ -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)
|
||||
|
||||
13
fragments/labels/parallelsdesktop.sh
Normal file
13
fragments/labels/parallelsdesktop.sh
Normal 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"
|
||||
;;
|
||||
|
||||
17
fragments/labels/parallelsdesktop16.sh
Normal file
17
fragments/labels/parallelsdesktop16.sh
Normal 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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user