mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-19 21:03:32 +00:00
labels sync
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
applesfsymbols|\
|
||||||
sfsymbols)
|
sfsymbols)
|
||||||
name="SF Symbols"
|
name="SF Symbols"
|
||||||
type="pkgInDmg"
|
type="pkgInDmg"
|
||||||
downloadURL="https://developer.apple.com/design/downloads/SF-Symbols.dmg"
|
downloadURL="https://developer.apple.com/design/downloads/SF-Symbols.dmg"
|
||||||
expectedTeamID="Software Update"
|
expectedTeamID="Software Update"
|
||||||
;;
|
;;
|
||||||
6
fragments/labels/boxsync.sh
Normal file
6
fragments/labels/boxsync.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
boxsync)
|
||||||
|
name="Box Sync"
|
||||||
|
type="dmg"
|
||||||
|
downloadURL="https://e3.boxcdn.net/box-installers/sync/Sync+4+External/Box%20Sync%20Installer.dmg"
|
||||||
|
expectedTeamID="M683GB7CPW"
|
||||||
|
;;
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
boxtools)
|
boxtools)
|
||||||
name="Box Tools"
|
name="Box Tools"
|
||||||
type="pkg"
|
type="pkg"
|
||||||
downloadURL="https://box-installers.s3.amazonaws.com/boxedit/mac/currentrelease/BoxToolsInstaller.pkg"
|
downloadURL="https://box-installers.s3.amazonaws.com/boxedit/mac/currentrelease/BoxToolsInstaller.pkg"
|
||||||
expectedTeamID="M683GB7CPW"
|
expectedTeamID="M683GB7CPW"
|
||||||
;;
|
;;
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
colourcontrastanalyser)
|
colourcontrastanalyser)
|
||||||
name="Colour Contrast Analyser (CCA)"
|
name="Colour Contrast Analyser (CCA)"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL=$(downloadURLFromGit ThePacielloGroup CCAe)
|
downloadURL=$(downloadURLFromGit ThePacielloGroup CCAe)
|
||||||
appNewVersion=$(versionFromGit ThePacielloGroup CCAe)
|
appNewVersion=$(versionFromGit ThePacielloGroup CCAe)
|
||||||
expectedTeamID="34RS4UC3M6"
|
expectedTeamID="34RS4UC3M6"
|
||||||
blockingProcesses=( NONE )
|
blockingProcesses=( NONE )
|
||||||
;;
|
;;
|
||||||
8
fragments/labels/craftmanager.sh
Normal file
8
fragments/labels/craftmanager.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
craftmanager)
|
||||||
|
name="CraftManager"
|
||||||
|
type="zip"
|
||||||
|
#downloadURL="https://craft-assets.invisionapp.com/CraftManager/production/CraftManager.zip"
|
||||||
|
downloadURL="$(curl -fs https://craft-assets.invisionapp.com/CraftManager/production/appcast.xml | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)"
|
||||||
|
appNewVersion="$(curl -fs https://craft-assets.invisionapp.com/CraftManager/production/appcast.xml | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)"
|
||||||
|
expectedTeamID="VRXQSNCL5W"
|
||||||
|
;;
|
||||||
7
fragments/labels/insomnia.sh
Normal file
7
fragments/labels/insomnia.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
insomnia)
|
||||||
|
name="insomnia"
|
||||||
|
type="dmg"
|
||||||
|
downloadURL=$(downloadURLFromGit kong insomnia)
|
||||||
|
appNewVersion=$(versionFromGit kong insomnia)
|
||||||
|
expectedTeamID="FX44YY62GV"
|
||||||
|
;;
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
jetbrainsdatagrip)
|
jetbrainsdatagrip)
|
||||||
# credit: AP Orlebeke (@apizz)
|
name="DataGrip"
|
||||||
name="DataGrip"
|
type="dmg"
|
||||||
type="dmg"
|
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
||||||
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
|
if [[ $(arch) == "arm64" ]]; then
|
||||||
if [[ $(arch) == "arm64" ]]; then
|
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'macM1*.*,' | cut -d '"' -f5)
|
||||||
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'macM1*.*,' | cut -d '"' -f5)
|
elif [[ $(arch) == "i386" ]]; then
|
||||||
elif [[ $(arch) == "i386" ]]; then
|
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'mac*.*,' | cut -d '"' -f5)
|
||||||
downloadURL=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=DG&latest=true&type=release" | grep -o 'mac*.*,' | cut -d '"' -f5)
|
fi
|
||||||
fi
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
expectedTeamID="2ZEFAR8TH3"
|
;;
|
||||||
;;
|
|
||||||
11
fragments/labels/jetbrainstoolbox.sh
Normal file
11
fragments/labels/jetbrainstoolbox.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
jetbrainstoolbox)
|
||||||
|
name="JetBrains Toolbox"
|
||||||
|
type="dmg"
|
||||||
|
if [[ $(arch) == i386 ]]; then
|
||||||
|
downloadURL="https://download.jetbrains.com/product?code=TB&latest&distribution=mac"
|
||||||
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
|
downloadURL="https://download.jetbrains.com/product?code=TB&latest&distribution=macM1"
|
||||||
|
fi
|
||||||
|
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
|
||||||
|
expectedTeamID="2ZEFAR8TH3"
|
||||||
|
;;
|
||||||
7
fragments/labels/muzzle.sh
Normal file
7
fragments/labels/muzzle.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
muzzle)
|
||||||
|
name="Muzzle"
|
||||||
|
type="zip"
|
||||||
|
downloadURL="https://muzzleapp.com/binaries/muzzle.zip"
|
||||||
|
appNewVersion=$(curl -fs https://muzzleapp.com/updates/ | grep -io 'h2.*Version.* [0-9.]*.*h2' | head -1 | sed -E 's/.*ersion *([0-9.]*).*/\1/g')
|
||||||
|
expectedTeamID="49EYHPJ4Q3"
|
||||||
|
;;
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
platypus)
|
platypus)
|
||||||
name="Platypus"
|
name="Platypus"
|
||||||
type="zip"
|
type="zip"
|
||||||
downloadURL=$(downloadURLFromGit sveinbjornt Platypus)
|
downloadURL=$(downloadURLFromGit sveinbjornt Platypus)
|
||||||
appNewVersion=$(versionFromGit sveinbjornt Platypus)
|
appNewVersion=$(versionFromGit sveinbjornt Platypus)
|
||||||
expectedTeamID="55GP2M789L"
|
expectedTeamID="55GP2M789L"
|
||||||
;;
|
;;
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
scaleft)
|
scaleft)
|
||||||
name="ScaleFT"
|
name="ScaleFT"
|
||||||
type="pkg"
|
type="pkg"
|
||||||
downloadURL="https://dist.scaleft.com/client-tools/mac/latest/ScaleFT.pkg"
|
downloadURL="https://dist.scaleft.com/client-tools/mac/latest/ScaleFT.pkg"
|
||||||
appNewVersion=$(curl -sf "https://dist.scaleft.com/client-tools/mac/" | awk '/dir/{i++}i==2' | sed -nre 's/^[^0-9]*(([0-9]+\.)*[0-9]+).*/\1/p')
|
appNewVersion=$(curl -sf "https://dist.scaleft.com/client-tools/mac/" | awk '/dir/{i++}i==2' | sed -nre 's/^[^0-9]*(([0-9]+\.)*[0-9]+).*/\1/p')
|
||||||
expectedTeamID="HV2G9Z3RP5"
|
expectedTeamID="HV2G9Z3RP5"
|
||||||
blockingProcesses=( ScaleFT )
|
blockingProcesses=( ScaleFT )
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
webexteams)
|
|
||||||
# credit: Erik Stam (@erikstam)
|
|
||||||
name="Webex Teams"
|
|
||||||
type="dmg"
|
|
||||||
downloadURL="https://binaries.webex.com/WebexTeamsDesktop-MACOS-Gold/WebexTeams.dmg"
|
|
||||||
expectedTeamID="DE8Y96K9QP"
|
|
||||||
;;
|
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
zulujdk8)
|
zulujdk8)
|
||||||
name="Zulu JDK 8"
|
name="Zulu JDK 8"
|
||||||
type="pkgInDmg"
|
type="pkgInDmg"
|
||||||
packageID="com.azulsystems.zulu.8"
|
packageID="com.azulsystems.zulu.8"
|
||||||
if [[ $(arch) == i386 ]]; then
|
if [[ $(arch) == i386 ]]; then
|
||||||
downloadURL=https://cdn.azul.com/zulu/bin/$(curl -fs "https://cdn.azul.com/zulu/bin/" | grep -Eio '">zulu8.*ca-jdk8.*x64.dmg(.*)' | cut -c3- | sed 's/<\/a>//' | sed -E 's/([0-9.]*)M//' | awk '{print $2 $1}' | sort | cut -c11- | tail -1)
|
downloadURL=https://cdn.azul.com/zulu/bin/$(curl -fs "https://cdn.azul.com/zulu/bin/" | grep -Eio '">zulu8.*ca-jdk8.*x64.dmg(.*)' | cut -c3- | sed 's/<\/a>//' | sed -E 's/([0-9.]*)M//' | awk '{print $2 $1}' | sort | cut -c11- | tail -1)
|
||||||
elif [[ $(arch) == arm64 ]]; then
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
downloadURL=https://cdn.azul.com/zulu/bin/$(curl -fs "https://cdn.azul.com/zulu/bin/" | grep -Eio '">zulu8.*ca-jdk8.*aarch64.dmg(.*)' | cut -c3- | sed 's/<\/a>//' | sed -E 's/([0-9.]*)M//' | awk '{print $2 $1}' | sort | cut -c11- | tail -1)
|
downloadURL=https://cdn.azul.com/zulu/bin/$(curl -fs "https://cdn.azul.com/zulu/bin/" | grep -Eio '">zulu8.*ca-jdk8.*aarch64.dmg(.*)' | cut -c3- | sed 's/<\/a>//' | sed -E 's/([0-9.]*)M//' | awk '{print $2 $1}' | sort | cut -c11- | tail -1)
|
||||||
fi
|
fi
|
||||||
expectedTeamID="TDTHCUPYFR"
|
expectedTeamID="TDTHCUPYFR"
|
||||||
appCustomVersion(){ if [ -f "/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Info.plist" ]; then /usr/bin/defaults read "/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Info.plist" "CFBundleName" | sed 's/Zulu //'; fi }
|
appCustomVersion(){ if [ -f "/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Info.plist" ]; then /usr/bin/defaults read "/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Info.plist" "CFBundleName" | sed 's/Zulu //'; fi }
|
||||||
appNewVersion=$(echo "$downloadURL" | cut -d "-" -f 1 | sed -e "s/.*zulu//") # Cannot be compared to anything
|
appNewVersion=$(echo "$downloadURL" | cut -d "-" -f 1 | sed -e "s/.*zulu//") # Cannot be compared to anything
|
||||||
;;
|
;;
|
||||||
Reference in New Issue
Block a user