finished updating labels

This commit is contained in:
Armin Briegel
2021-08-16 16:55:28 +02:00
parent 97e8c160d2
commit 2e72b05df1
142 changed files with 460 additions and 190 deletions

View File

@@ -59,3 +59,23 @@ longversion)
printlog "Installomater: version $VERSION ($VERSIONDATE)"
exit 0
;;
valuesfromarguments)
if [[ -z $name ]]; then
printlog "need to provide 'name'"
exit 1
fi
if [[ -z $type ]]; then
printlog "need to provide 'type'"
exit 1
fi
if [[ -z $downloadURL ]]; then
printlog "need to provide 'downloadURL'"
exit 1
fi
if [[ -z $expectedTeamID ]]; then
printlog "need to provide 'expectedTeamID'"
exit 1
fi
;;
# label descriptions start here

View File

@@ -605,3 +605,5 @@ finishing() {
displaynotification "$message" "$name update/installation complete!"
fi
}

View File

@@ -6,5 +6,4 @@
expectedTeamID="2BUA8C4S2C"
blockingProcesses=( "1Password Extension Helper" "1Password 7" "1Password (Safari)" "1PasswordNativeMessageHost" "1PasswordSafariAppExtension" )
#forcefulQuit=YES
#Company="Agilebits"
;;

View File

@@ -0,0 +1,8 @@
4kvideodownloader)
name="4K Video Downloader"
type="dmg"
downloadURL="$(curl -fsL "https://www.4kdownload.com/products/product-videodownloader" | grep -E -o "https:\/\/dl\.4kdownload\.com\/app\/4kvideodownloader_.*?.dmg\?source=website" | head -1)"
appNewVersion=$(echo "${downloadURL}" | sed -E 's/.*\/[0-9a-zA-Z]*_([0-9.]*)\.dmg.*/\1/g')
versionKey="CFBundleVersion"
expectedTeamID="GHQ37VJF83"
;;

View File

@@ -6,5 +6,4 @@
# As for appNewVersion, it needs to be checked for newer version than 7.2.4
appNewVersion=$(curl -fs -L https://support.8x8.com/cloud-phone-service/voice/work-desktop/download-8x8-work-for-desktop | grep -m 1 -o "https.*dmg" | sed 's/\"//' | awk '{print $1}' | sed -E 's/.*-v([0-9\.]*)[-\.]*.*/\1/' )
expectedTeamID="FC967L3QRG"
#Company="8x8"
;;

View File

@@ -4,5 +4,4 @@ abstract)
downloadURL="https://api.goabstract.com/releases/latest/download"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="77MZLZE47D"
#Company="Elastic Projects, Inc"
;;

View File

@@ -1,5 +1,4 @@
adobebrackets)
# credit: Adrian Bühler (@midni9ht)
name="Brackets"
type="dmg"
downloadURL=$(downloadURLFromGit adobe brackets )

View File

@@ -8,7 +8,4 @@ adobereaderdc-install)
#appNewVersion=$(curl -s -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15)" https://get.adobe.com/reader/ | grep ">Version" | sed -E 's/.*Version 20([0-9.]*)<.*/\1/g') # credit: Søren Theilgaard (@theilgaard)
expectedTeamID="JQ525L2MZD"
blockingProcesses=( "AdobeReader" )
#Company="Adobe"
#PatchName="AcrobatReader"
#PatchSkip="YES"
;;

View File

@@ -5,5 +5,4 @@ airserver)
downloadURL="https://www.airserver.com/download/mac/latest"
#appNewVersion=$() # Cannot find version history or release notes on home page
expectedTeamID="6C755KS5W3"
#Company="App Dynamic ehf"
;;

View File

@@ -0,0 +1,7 @@
aldente)
name="AlDente"
type="dmg"
downloadURL=$(downloadURLFromGit davidwernhart AlDente)
appNewVersion=$(versionFromGit davidwernhart AlDente)
expectedTeamID="3WVC84GB99"
;;

View File

@@ -6,5 +6,4 @@ alfred)
appNewVersion=$(echo "${downloadURL}" | sed -E 's/.*Alfred_([0-9.]*)_.*/\1/')
appName="Alfred 4.app"
expectedTeamID="XZZXE9SED4"
#Company="Running with Crayons Ltd"
;;

View File

@@ -0,0 +1,7 @@
alttab)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="AltTab"
type="zip"
downloadURL=$(downloadURLFromGit lwouis alt-tab-macos)
expectedTeamID="QXD7GW8FHY"
;;

View File

@@ -5,5 +5,4 @@ amazonchime)
downloadURL="https://clients.chime.aws/mac/latest"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*\/[a-zA-Z.\-]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="94KV3E626L"
#Company="Amazon"
;;

View File

@@ -0,0 +1,7 @@
anydesk)
name="AnyDesk"
type="dmg"
downloadURL="https://download.anydesk.com/anydesk.dmg"
appNewVersion="$(curl -fs https://anydesk.com/da/downloads/mac-os | grep -i "d-block" | grep -E -o ">v[0-9.]* .*MB" | sed -E 's/.*v([0-9.]*) .*/\1/g')"
expectedTeamID="KU6W3B6JMZ"
;;

View File

@@ -3,5 +3,4 @@ apparency)
type="dmg"
downloadURL="https://www.mothersruin.com/software/downloads/Apparency.dmg"
expectedTeamID="936EB786NH"
#Company="Mother's Ruin Graphics"
;;

View File

@@ -2,8 +2,6 @@ appcleaner)
# credit: Tadayuki Onishi (@kenchan0130)
name="AppCleaner"
type="zip"
downloadURL=$(curl -fs https://freemacsoft.net/appcleaner/Updates.xml | xpath '//rss/channel/*/enclosure/@url' 2>/dev/null | tr " " "
" | sort | tail -1 | cut -d '"' -f 2)
downloadURL=$(curl -fs https://freemacsoft.net/appcleaner/Updates.xml | xpath '//rss/channel/*/enclosure/@url' 2>/dev/null | tr " " "\n" | sort | tail -1 | cut -d '"' -f 2)
expectedTeamID="X85ZX835W9"
#Company=FreeMacSoft
;;

View File

@@ -0,0 +1,7 @@
applenyfonts)
name="Apple New York Font Collection"
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/NY-Font.dmg"
packageID="com.apple.pkg.NYFonts"
expectedTeamID="Development Update"
;;

View File

@@ -0,0 +1,7 @@
applesfcompact)
name="San Francisco Compact"
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/SF-Font-Compact.dmg"
packageID="com.apple.pkg.SanFranciscoCompact"
expectedTeamID="Development Update"
;;

View File

@@ -0,0 +1,7 @@
applesfmono)
name="San Francisco Mono"
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/SF-Mono.dmg"
packageID="com.apple.pkg.SFMonoFonts"
expectedTeamID="Software Update"
;;

View File

@@ -0,0 +1,7 @@
applesfpro)
name="San Francisco Pro"
type="pkgInDmg"
downloadURL="https://devimages-cdn.apple.com/design/resources/download/SF-Font-Pro.dmg"
packageID="com.apple.pkg.SanFranciscoPro"
expectedTeamID="Development Update"
;;

View File

@@ -5,6 +5,4 @@ aquaskk)
downloadURL=$(downloadURLFromGit codefirst aquaskk)
appNewVersion=$(versionFromGit codefirst aquaskk)
expectedTeamID="FPZK4WRGW7"
#Company="Code First"
#PatchSkip="YES"
;;

8
fragments/labels/arq7.sh Normal file
View File

@@ -0,0 +1,8 @@
arq7)
name="Arq7"
type="pkg"
packageID="com.haystacksoftware.Arq"
downloadURL="https://arqbackup.com/download/arqbackup/Arq7.pkg"
appNewVersion="$(curl -fs "https://arqbackup.com" | grep -io "version .*[0-9.]*.* for macOS" | cut -d ">" -f2 | cut -d "<" -f1)"
expectedTeamID="48ZCSDVL96"
;;

View File

@@ -0,0 +1,7 @@
atext)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="aText"
type="dmg"
downloadURL="https://trankynam.com/atext/downloads/aText.dmg"
expectedTeamID="KHEMQ2FD9E"
;;

View File

@@ -5,5 +5,4 @@ atom)
downloadURL=$(downloadURLFromGit atom atom )
appNewVersion=$(versionFromGit atom atom)
expectedTeamID="VEKTX9H2N7"
#Company=GitHub
;;

View File

@@ -0,0 +1,8 @@
audacity)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Audacity"
type="dmg"
downloadURL=$(downloadURLFromGit audacity audacity)
appNewVersion=$(versionFromGit audacity audacity)
expectedTeamID="T3N4JQ7YY6"
;;

View File

@@ -5,5 +5,4 @@ autodmg)
downloadURL=$(downloadURLFromGit MagerValp AutoDMG)
appNewVersion=$(versionFromGit MagerValp AutoDMG)
expectedTeamID="5KQ3D3FG5H"
#Company=MagerValp
;;

View File

@@ -6,5 +6,4 @@ autopkgr)
downloadURL=$(downloadURLFromGit lindegroup autopkgr)
appNewVersion=$(versionFromGit lindegroup autopkgr)
expectedTeamID="JVY2ZR6SEF"
#Company="Linde Group"
;;

View File

@@ -4,5 +4,4 @@ aviatrix)
type="pkg"
downloadURL="https://s3-us-west-2.amazonaws.com/aviatrix-download/AviatrixVPNClient/AVPNC_mac.pkg"
expectedTeamID="32953Z7NBN"
#Company=Aviatrix
;;

View File

@@ -3,7 +3,5 @@ awsvpnclient)
type="pkg"
downloadURL="https://d20adtppz83p9s.cloudfront.net/OSX/latest/AWS_VPN_Client.pkg"
expectedTeamID="94KV3E626L"
appNewVersion=$(curl -is "https://beta2.communitypatch.com/jamf/v1/ba1efae22ae74a9eb4e915c31fef5dd2/patch/AWSVPNClient" | grep currentVersion | tr ',' '
' | grep currentVersion | cut -d '"' -f 4)
#Company=Amazon
appNewVersion=$(curl -is "https://beta2.communitypatch.com/jamf/v1/ba1efae22ae74a9eb4e915c31fef5dd2/patch/AWSVPNClient" | grep currentVersion | tr ',' '\n' | grep currentVersion | cut -d '"' -f 4)
;;

View File

@@ -1,9 +1,7 @@
balenaetcher)
# credit: Adrian Bühler (@midni9ht)
name="balenaEtcher"
type="dmg"
downloadURL=$(downloadURLFromGit balena-io etcher )
appNewVersion=$(versionFromGit balena-io etcher )
expectedTeamID="66H43P8FRG"
#Company="Balena"
;;

View File

@@ -0,0 +1,7 @@
balsamiqwireframes)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Balsamiq Wireframes"
type="dmg"
downloadURL=https://builds.balsamiq.com/bwd/$(curl -fs "https://builds.balsamiq.com" | awk -F "<Key>bwd/" "/dmg/ {print \$3}" | awk -F "</Key>" "{print \$1}" | sed "s/ /%20/g")
expectedTeamID="3DPKD72KQ7"
;;

View File

@@ -0,0 +1,7 @@
bartender)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Bartender 4"
type="dmg"
downloadURL="https://www.macbartender.com/B2/updates/B4Latest/Bartender%204.dmg"
expectedTeamID="8DD663WDX4"
;;

View File

@@ -4,5 +4,4 @@ bbedit)
downloadURL=$(curl -s https://versioncheck.barebones.com/BBEdit.xml | grep dmg | sort | tail -n1 | cut -d">" -f2 | cut -d"<" -f1)
appNewVersion=$(curl -s https://versioncheck.barebones.com/BBEdit.xml | grep dmg | sort | tail -n1 | sed -E 's/.*BBEdit_([0-9 .]*)\.dmg.*/\1/')
expectedTeamID="W52GZAXT98"
#Company="Bare Bones Software"
;;

View File

@@ -1,8 +1,11 @@
bluejeans)
name="BlueJeans"
type="pkg"
downloadURL=$(curl -fs "https://www.bluejeans.com/downloads" | xmllint --html --format - 2>/dev/null | grep -o "https://.*BlueJeansInstaller.dmg" | sed 's/dmg/pkg/g')
if [[ $(arch) == "arm64" ]]; then
downloadURL=$(curl -fs "https://www.bluejeans.com/downloads" | xmllint --html --format - 2>/dev/null | grep -o "https://.*BlueJeansInstaller.*arm.*.pkg" )
elif [[ $(arch) == "i386" ]]; then
downloadURL=$(curl -fs "https://www.bluejeans.com/downloads" | xmllint --html --format - 2>/dev/null | grep -o "https://.*BlueJeansInstaller.*x86.*.dmg" | sed 's/dmg/pkg/g')
fi
appNewVersion=$(echo $downloadURL | cut -d '/' -f6)
expectedTeamID="HE4P42JBGN"
#Company="Verizon"
;;

View File

@@ -4,12 +4,10 @@ brave)
type="dmg"
if [[ $(arch) != "i386" ]]; then
printlog "Architecture: arm64 (not i386)"
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osxarm64/release | grep -i "^location" | awk '{print $2}' | tr -d '
')
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osxarm64/release | grep -i "^location" | awk '{print $2}' | tr -d '\r\n')
else
printlog "Architecture: i386"
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osx/release | grep -i "^location" | awk '{print $2}' | tr -d '
')
downloadURL=$(curl -fsIL https://laptop-updates.brave.com/latest/osx/release | grep -i "^location" | awk '{print $2}' | tr -d '\r\n')
fi
# downloadURL=$(curl --location --fail --silent "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)
appNewVersion=$(curl --location --fail --silent "https://updates.bravesoftware.com/sparkle/Brave-Browser/stable/appcast.xml" | xpath '//rss/channel/item[last()]/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f 2)

View File

@@ -0,0 +1,8 @@
caffeine)
name="Caffeine"
type="dmg"
downloadURL=$(downloadURLFromGit IntelliScape caffeine)
appNewVersion=$(versionFromGit IntelliScape caffeine)
expectedTeamID="YD6LEYT6WZ"
blockingProcesses=( Caffeine )
;;

View File

@@ -1,5 +1,4 @@
cakebrew)
# credit: Adrian Bühler (@midni9ht)
name="Cakebrew"
type="zip"
downloadURL=$(curl -fsL "https://www.cakebrew.com/appcast/profileInfo.php" | xpath '//rss/channel/item[1]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)

View File

@@ -3,6 +3,6 @@ camostudio)
name="Camo Studio"
type="zip"
downloadURL="https://reincubate.com/res/labs/camo/camo-macos-latest.zip"
#appNewVersion=$( ) # Can't find any versioniing on web server
appNewVersion=$(curl -s -L https://reincubate.com/support/camo/release-notes/ | grep -m2 "has-m-t-0" | head -1 | cut -d ">" -f2 | cut -d " " -f1)
expectedTeamID="Q248YREB53"
;;

View File

@@ -2,8 +2,7 @@ clevershare2)
# credit: Søren Theilgaard (@theilgaard)
name="Clevershare"
type="dmg"
downloadURL=$(curl -fs https://archive.clevertouch.com/clevershare2g | grep -i "_Mac" | tr '"' "
" | grep "^http.*dmg")
downloadURL=$(curl -fs https://archive.clevertouch.com/clevershare2g | grep -i "_Mac" | tr '"' "\n" | grep "^http.*dmg")
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z-]*_Mac\.([0-9.]*)\.[0-9]*\.dmg$/\1/g' )
expectedTeamID="P76M9BE8DQ"
;;

View File

@@ -0,0 +1,7 @@
clickshare)
# credit: Søren Theilgaard (@theilgaard)
name="ClickShare"
type="appInDmgInZip"
downloadURL=https://www.barco.com$(curl -fs "https://www.barco.com/en/clickshare/app" | grep -E -o '(\/\S*Download\?FileNumber=R3306192\S*ShowDownloadPage=False)' | tail -1)
expectedTeamID="P6CDJZR997"
;;

View File

@@ -1,5 +1,4 @@
dbeaverce)
# credit: Adrian Bühler (@midni9ht)
name="DBeaver"
type="dmg"
downloadURL="https://dbeaver.io/files/dbeaver-ce-latest-macos.dmg"

View File

@@ -1,5 +1,4 @@
debookee)
# credit: Adrian Bühler (@midni9ht)
name="Debookee"
type="zip"
downloadURL=$(curl --location --fail --silent "https://www.iwaxx.com/debookee/appcast.xml" | xpath '//rss/channel/item[1]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)

View File

@@ -0,0 +1,7 @@
defaultfolderx)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Default Folder X"
type="dmg"
downloadURL=$(curl -fs "https://www.stclairsoft.com/cgi-bin/dl.cgi?DX" | awk -F '"' "/dmg/ {print \$4}" | head -2 | tail -1)
expectedTeamID="7HK42V8R9D"
;;

View File

@@ -3,10 +3,7 @@ devonthink)
# credit: Søren Theilgaard (@theilgaard)
name="DEVONthink 3"
type="appInDmgInZip"
downloadURL=$( curl -fs https://www.devontechnologies.com/apps/devonthink | grep -i "download.devon" | tr '"' '
' | tr "'" '
' | grep -e '^https://' )
appNewVersion=$( echo ${downloadURL} | tr '/' '
' | grep "[0-9]" | grep "[.]" | head -1 )
downloadURL=$( curl -fs https://www.devontechnologies.com/apps/devonthink | grep -i "download.devon" | tr '"' '\n' | tr "'" '\n' | grep -e '^https://' )
appNewVersion=$( echo ${downloadURL} | tr '/' '\n' | grep "[0-9]" | grep "[.]" | head -1 )
expectedTeamID="679S2QUWR8"
;;

View File

@@ -0,0 +1,7 @@
drift)
# credit Elena Ackley (@elenaelago)
name="Drift"
type="dmg"
downloadURL="https://drift-prod-desktop-installers.s3.amazonaws.com/mac/Drift-latest.dmg"
expectedTeamID="78559WUUR9"
;;

View File

@@ -2,8 +2,7 @@ easeusdatarecoverywizard)
# credit: Søren Theilgaard (@theilgaard)
name="EaseUS Data Recovery Wizard"
type="dmg"
downloadURL=$( curl -fsIL https://down.easeus.com/product/mac_drw_free_setup | grep -i "^location" | awk '{print $2}' | tr -d '
' )
downloadURL=$( curl -fsIL https://down.easeus.com/product/mac_drw_free_setup | grep -i "^location" | awk '{print $2}' | tr -d '\r\n' )
#appNewVersion=""
expectedTeamID="DLLVW95FSM"
;;

View File

@@ -1,7 +1,7 @@
element)
# credit: Adrian Bühler (@midni9ht)
name="Element"
type="dmg"
downloadURL="https://packages.riot.im/desktop/install/macos/Element.dmg"
appNewVersion=$(versionFromGit vector-im element-desktop)
expectedTeamID="7J4U792NQT"
;;

View File

@@ -0,0 +1,8 @@
evernote)
name="Evernote"
type="dmg"
downloadURL=$(curl -fs -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15)" "https://evernote.com/download" | grep -i ".dmg" | cut -d '"' -f2)
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)-.*/\1/g' )
expectedTeamID="Q79WDW8YH9"
appName="Evernote.app"
;;

View File

@@ -0,0 +1,7 @@
favro)
name="Favro"
type="dmg"
downloadURL="https://download.favro.com/FavroDesktop/macOS/x64/$(curl -fs https://download.favro.com/FavroDesktop/macOS/x64/Latest.html | cut -d ">" -f1 | cut -d "=" -f 4 | cut -d '"' -f1)"
appNewVersion="$(curl -fs https://download.favro.com/FavroDesktop/macOS/x64/Latest.html | cut -d ">" -f1 | cut -d "=" -f 4 | cut -d '"' -f1 | sed -E 's/.*-([0-9.]*)\.dmg/\1/g')"
expectedTeamID="PUA8Q354ZF"
;;

View File

@@ -1,5 +1,4 @@
ferdi)
# credit: Adrian Bühler (@midni9ht)
name="Ferdi"
type="dmg"
downloadURL=$(downloadURLFromGit getferdi ferdi )

View File

@@ -1,7 +1,6 @@
figma)
name="Figma"
type="zip"
downloadURL="https://www.figma.com/download/desktop/mac/"
downloadURL="https://desktop.figma.com/mac/Figma.zip"
expectedTeamID="T8RA8NE3B7"
#Company="Figma"
;;

View File

@@ -0,0 +1,23 @@
firefox_intl)
# This label will try to figure out the selected language of the user,
# and install corrosponding version of Firefox
name="Firefox"
type="dmg"
userLanguage=$(runAsUser defaults read .GlobalPreferences AppleLocale)
printlog "Found language $userLanguage to be used for Firefox."
if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest/README.txt" | grep -o "=$userLanguage"; then
userLanguage=$(echo $userLanguage | cut -c 1-2)
if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest/README.txt" | grep "=$userLanguage"; then
userLanguage="en_US"
fi
fi
printlog "Using language $userLanguage for download."
downloadURL="https://download.mozilla.org/?product=firefox-latest&amp;os=osx&amp;lang=$userLanguage"
if ! curl -sfL --output /dev/null -r 0-0 "$downloadURL" ; then
printlog "Download not found for that language. Using en-US"
downloadURL="https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US"
fi
appNewVersion=$(/usr/bin/curl -sl https://www.mozilla.org/en-US/firefox/releases/ | /usr/bin/grep '<html' | /usr/bin/awk -F\" '{ print $8 }') # Credit: William Smith (@meck)
expectedTeamID="43AQ936H96"
blockingProcesses=( firefox )
;;

View File

@@ -3,6 +3,7 @@ firefoxesrpkg)
name="Firefox"
type="pkg"
downloadURL="https://download.mozilla.org/?product=firefox-esr-pkg-latest-ssl&os=osx"
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*releases\/([0-9.]*)esr.*/\1/g')
expectedTeamID="43AQ936H96"
blockingProcesses=( firefox )
;;

View File

@@ -0,0 +1,24 @@
firefoxesr_intl)
# This label will try to figure out the selected language of the user,
# and install corrosponding version of Firefox ESR
name="Firefox"
type="dmg"
userLanguage=$(runAsUser defaults read .GlobalPreferences AppleLocale)
printlog "Found language $userLanguage to be used for Firefox."
if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest-esr/README.txt" | grep -o "=$userLanguage"; then
userLanguage=$(echo $userLanguage | cut -c 1-2)
if ! curl -fs "https://ftp.mozilla.org/pub/firefox/releases/latest-esr/README.txt" | grep "=$userLanguage"; then
userLanguage="en_US"
fi
fi
printlog "Using language $userLanguage for download."
downloadURL="https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=osx&lang=$userLanguage"
# https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=osx&lang=en-US
if ! curl -sfL --output /dev/null -r 0-0 "$downloadURL" ; then
printlog "Download not found for that language. Using en-US"
downloadURL="https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US"
fi
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i "^location" | awk '{print $2}' | sed -E 's/.*releases\/([0-9.]*)esr.*/\1/g')
expectedTeamID="43AQ936H96"
blockingProcesses=( firefox )
;;

View File

@@ -1,5 +1,4 @@
fsmonitor)
# credit: Adrian Bühler (@midni9ht)
name="FSMonitor"
type="zip"
downloadURL=$(curl --location --fail --silent "https://fsmonitor.com/FSMonitor/Archives/appcast2.xml" | xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)

View File

@@ -4,5 +4,4 @@ gimp)
downloadURL=https://$(curl -fs https://www.gimp.org/downloads/ | grep -m 1 -o "download.*gimp-.*.dmg")
appNewVersion=$(echo $downloadURL | cut -d "-" -f 2)
expectedTeamID="T25BQ8HSJF"
#Company="GIMP"
;;

View File

@@ -1,7 +1,11 @@
githubdesktop)
name="GitHub Desktop"
type="zip"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://central.github.com/deployments/desktop/desktop/latest/darwin-arm64"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://central.github.com/deployments/desktop/desktop/latest/darwin"
fi
appNewVersion=$(curl -fsL https://central.github.com/deployments/desktop/desktop/changelog.json | awk -F '{' '/"version"/ { print $2 }' | sed -E 's/.*,\"version\":\"([0-9.]*)\".*/\1/g')
expectedTeamID="VEKTX9H2N7"
;;

View File

@@ -3,9 +3,7 @@ golang)
name="GoLang"
type="pkg"
packageID="org.golang.go"
downloadURL="$(curl -fsIL "https://golang.org$(curl -fs "https://golang.org/dl/" | grep -i "downloadBox" | grep "pkg" | tr '"' '
' | grep "pkg")" | grep -i "^location" | awk '{print $2}' | tr -d '
')"
downloadURL="$(curl -fsIL "https://golang.org$(curl -fs "https://golang.org/dl/" | grep -i "downloadBox" | grep "pkg" | tr '"' '\n' | grep "pkg")" | grep -i "^location" | awk '{print $2}' | tr -d '\r\n')"
appNewVersion="$( echo "${downloadURL}" | sed -E 's/.*\/(go[0-9.]*)\..*/\1/g' )" # Version includes letters "go"
expectedTeamID="EQHXZ8M8AV"
blockingProcesses=( NONE )

View File

@@ -3,6 +3,4 @@ googledrivebackupandsync)
type="dmg"
downloadURL="https://dl.google.com/drive/InstallBackupAndSync.dmg"
expectedTeamID="EQHXZ8M8AV"
#Company="Google"
#PatchSkip="YES"
;;

View File

@@ -3,5 +3,4 @@ googleearth)
type="pkgInDmg"
downloadURL="https://dl.google.com/earth/client/advanced/current/GoogleEarthProMac-Intel.dmg"
expectedTeamID="EQHXZ8M8AV"
#Company="Google"
;;

View File

@@ -4,5 +4,6 @@ googlejapaneseinput)
type="pkgInDmg"
pkgName="GoogleJapaneseInput.pkg"
downloadURL="https://dl.google.com/japanese-ime/latest/GoogleJapaneseInput.dmg"
blockingProcesses=( NONE )
expectedTeamID="EQHXZ8M8AV"
;;

View File

@@ -0,0 +1,8 @@
googlesoftwareupdate)
name="Install Google Software Update"
type="pkgInDmg"
pkgName="Install Google Software Update.app/Contents/Resources/GSUInstall.pkg"
downloadURL="https://dl.google.com/mac/install/googlesoftwareupdate.dmg"
blockingProcesses=( NONE )
expectedTeamID="EQHXZ8M8AV"
;;

View File

@@ -0,0 +1,8 @@
grasshopper)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="Grasshopper"
type="dmg"
downloadURL="https://dl.grasshopper.com/Grasshopper.dmg"
pkgName="Grasshopper.dmg"
expectedTeamID="KD6L2PTK2Q"
;;

View File

@@ -0,0 +1,8 @@
hancock)
# Credit: Bilal Habib @Pro4TLZZZ
name="Hancock"
type="dmg"
downloadURL=$(downloadURLFromGit JeremyAgost Hancock )
appNewVersion=$(versionFromGit JeremyAgost Hancock )
expectedTeamID="SWD2B88S58"
;;

View File

@@ -2,8 +2,7 @@ hazel)
# credit: Søren Theilgaard (@theilgaard)
name="Hazel"
type="dmg"
downloadURL=$(curl -fsI https://www.noodlesoft.com/Products/Hazel/download | grep -i "^location" | awk '{print $2}' | tr -d '
')
downloadURL=$(curl -fsI https://www.noodlesoft.com/Products/Hazel/download | grep -i "^location" | awk '{print $2}' | tr -d '\r\n')
appNewVersion=$(curl -fsI https://www.noodlesoft.com/Products/Hazel/download | grep -i "^location" | awk '{print $2}' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g')
expectedTeamID="86Z3GCJ4MF"
;;

View File

@@ -1,7 +1,11 @@
hyper)
# credit: Adrian Bühler (@midni9ht)
name="Hyper"
type="dmg"
if [[ $(arch) == i386 ]]; then
archiveName="mac-x64.dmg"
elif [[ $(arch) == arm64 ]]; then
archiveName="mac-arm64.dmg"
fi
downloadURL=$(downloadURLFromGit vercel hyper )
appNewVersion=$(versionFromGit vercel hyper)
expectedTeamID="JW6Y669B67"

View File

@@ -0,0 +1,7 @@
imazingprofileeditor)
# Credit: Bilal Habib @Pro4TLZZZ
name="iMazing Profile Editor"
type="dmg"
downloadURL="https://downloads.imazing.com/mac/iMazing-Profile-Editor/iMazingProfileEditorMac.dmg"
expectedTeamID="J5PR93692Y"
;;

View File

@@ -1,11 +1,11 @@
installomator_theile|\
installomator_st)
installomator_theile)
# credit: Søren Theilgaard (@theilgaard)
name="Installomator"
type="pkg"
packageID="dk.theilgaard.pkg.Installomator"
downloadURL=$(downloadURLFromGit theile Installomator )
appNewVersion=$(versionFromGit theile Installomator )
expectedTeamID="L8W73B6AH3"
#appCustomVersion(){/usr/local/bin/Installomator.sh version | tail -1 | awk '{print $4}'}
expectedTeamID="FXW6QXBFW5"
blockingProcesses=( NONE )
;;

View File

@@ -4,6 +4,4 @@ jamfconnect)
packageID="com.jamf.connect"
downloadURL="https://files.jamfconnect.com/JamfConnect.dmg"
expectedTeamID="483DWKW443"
#Company="Jamf"
#PatchSkip="YES"
;;

View File

@@ -1,5 +1,5 @@
jetbrainsintellijidea)
# credit: Gabe Marchan (www.gabemarchan.com)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="IntelliJ IDEA"
type="dmg"
downloadURL="https://download.jetbrains.com/product?code=II&latest&distribution=mac"

View File

@@ -5,5 +5,4 @@ intellijideace)
downloadURL="https://download.jetbrains.com/product?code=IIC&latest&distribution=mac"
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=IIC&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
expectedTeamID="2ZEFAR8TH3"
#Company="JetBrains"
;;

View File

@@ -1,5 +1,4 @@
jetbrainspycharm)
# credit: Adrian Bühler (@midni9ht)
# This is the Pro version of PyCharm.
# Do not confuse with PyCharm CE.
name="PyCharm"

View File

@@ -9,5 +9,4 @@ pycharmce)
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=macM1"
fi
expectedTeamID="2ZEFAR8TH3"
#Company="JetBrains"
;;

View File

@@ -1,8 +1,12 @@
keepassxc)
# credit: Patrick Atoon (@raptor399)
name="KeePassXC"
type="dmg"
downloadURL="$(downloadURLFromGit keepassxreboot keepassxc)"
if [[ $(arch) == i386 ]]; then
archiveName="x86_64.dmg"
elif [[ $(arch) == arm64 ]]; then
archiveName="arm64.dmg"
fi
downloadURL=$(downloadURLFromGit keepassxreboot keepassxc)
appNewVersion=$(versionFromGit keepassxreboot keepassxc)
expectedTeamID="G2S7P7J672"
;;

View File

@@ -1,5 +1,4 @@
keka)
# credit: Adrian Bühler (@midni9ht)
name="Keka"
type="dmg"
downloadURL=$(downloadURLFromGit aonez Keka)

View File

@@ -1,8 +1,7 @@
knockknock)
name="KnockKnock"
type="zip"
downloadURL=$( curl -fs "https://objective-see.com/products/knockknock.html" | grep https | grep "$type" | head -1 | tr '"' "
" | grep "^http" )
downloadURL=$( curl -fs "https://objective-see.com/products/knockknock.html" | grep https | grep "$type" | head -1 | tr '"' "\n" | grep "^http" )
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*_([0-9.]*)\..*/\1/g' )
expectedTeamID="VBG97UB4TA"
;;

View File

@@ -2,8 +2,7 @@ lexarrecoverytool)
# credit: Søren Theilgaard (@theilgaard)
name="Lexar Recovery Tool"
type="appInDmgInZip"
downloadURL="https://www.lexar.com$( curl -fs "https://www.lexar.com/support/downloads/" | grep -i "mac" | grep -i "recovery" | head -1 | tr '"' '
' | grep -i ".zip" )"
downloadURL="https://www.lexar.com$( curl -fs "https://www.lexar.com/support/downloads/" | grep -i "mac" | grep -i "recovery" | head -1 | tr '"' '\n' | grep -i ".zip" )"
#appNewVersion=""
expectedTeamID="Y8HM6WR2DV"
;;

View File

@@ -0,0 +1,9 @@
logitechoptions)
# credit: AP Orlebeke (@apizz)
name="Logitech Options"
type="pkgInZip"
downloadURL=$(curl -fs -L https://www.logitech.com/en-us/product/options | grep -m 1 -o "https.*zip" | sed 's/\"//' | awk '{print $1}')
appNewVersion=$(curl -fs -L https://www.logitech.com/en-us/product/options | grep -m 1 -o "https.*zip" | sed 's/\"//' | awk '{print $1}' | sed -E 's/.*_([0-9\.]*)[-\.].*/\1/' )
pkgName="LogiMgr Installer ${appNewVersion}.app/Contents/Resources/LogiMgr.pkg"
expectedTeamID="QED4VVPZWA"
;;

View File

@@ -1,8 +1,7 @@
lulu)
name="LuLu"
type="dmg"
downloadURL=$( curl -fs "https://objective-see.com/products/lulu.html" | grep https | grep "$type" | head -1 | tr '"' "
" | grep "^http" )
downloadURL=$( curl -fs "https://objective-see.com/products/lulu.html" | grep https | grep "$type" | head -1 | tr '"' "\n" | grep "^http" )
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*_([0-9.]*)\..*/\1/g' )
expectedTeamID="VBG97UB4TA"
;;

View File

@@ -1,6 +1,11 @@
mattermost)
name="Mattermost"
type="dmg"
if [[ $(arch) == i386 ]]; then
archiveName="mac.dmg"
elif [[ $(arch) == arm64 ]]; then
archiveName="mac-m1.dmg"
fi
downloadURL=$(downloadURLFromGit mattermost desktop)
appNewVersion=$(versionFromGit mattermost desktop )
expectedTeamID="UQ8HT4Q2XM"

View File

@@ -1,5 +1,4 @@
menumeters)
# credit: Adrian Bühler (@midni9ht)
name="MenuMeters"
type="zip"
downloadURL=$(downloadURLFromGit yujitach MenuMeters )

View File

@@ -6,5 +6,4 @@ microsoftlicenseremovaltool)
expectedTeamID="QGS93ZLCU7"
appNewVersion=$(curl -is "$downloadURL" | grep ocation: | grep -o "Microsoft_.*pkg" | cut -d "_" -f 5 | cut -d "." -f1-2)
Company="Microsoft"
PatchSkip="YES"
;;

View File

@@ -3,10 +3,11 @@ microsoftteams)
type="pkg"
#packageID="com.microsoft.teams"
downloadURL="https://go.microsoft.com/fwlink/?linkid=869428"
appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.teams.standalone"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.teams.standalone"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
# Still using macadmin.software for version, as the path does not contain the version in a matching format. packageID can be used, but version is the same.
expectedTeamID="UBF8T346G9"
blockingProcesses=( Teams "Microsoft Teams Helper" )
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
updateToolArguments=( --install --apps TEAM01 )
# Commenting out msupdate as it is not really supported *yet* for teams
# updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
# updateToolArguments=( --install --apps TEAM01 )
;;

View File

@@ -7,5 +7,5 @@ visualstudiocode)
appNewVersion=$(curl -fsL "https://code.visualstudio.com/Updates" | grep "/darwin" | grep -oiE ".com/([^>]+)([^<]+)/darwin" | cut -d "/" -f 2 | sed $'s/[^[:print:] ]//g' | head -1 )
expectedTeamID="UBF8T346G9"
appName="Visual Studio Code.app"
blockingProcesses=( Electron )
blockingProcesses=( Code )
;;

View File

@@ -4,5 +4,4 @@ musescore)
downloadURL=$(downloadURLFromGit musescore MuseScore)
appNewVersion=$(versionFromGit musescore MuseScore)
expectedTeamID="6EPAF2X3PR"
#Company="Musescore"
;;

View File

@@ -3,9 +3,10 @@ nextcloud)
type="pkg"
#packageID="com.nextcloud.desktopclient"
downloadURL=$(downloadURLFromGit nextcloud desktop)
#appNewVersion=$(versionFromGit nextcloud desktop)
appNewVersion=$(versionFromGit nextcloud desktop)
# The version of the app is not equal to the version listed on GitHub.
# App version something like "3.1.3git (build 4850)" but web page lists as "3.1.3"
# Also it does not math packageID version "3.1.34850"
appCustomVersion(){defaults read /Applications/nextcloud.app/Contents/Info.plist CFBundleShortVersionString | sed -E 's/^([0-9.]*)git.*/\1/g'}
expectedTeamID="NKUJUXUJ3B"
;;

View File

@@ -7,7 +7,6 @@ notion)
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://www.notion.so/desktop/mac/download"
fi
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | tr -d '
' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | tr -d '\r\n' | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="LBQJ96FQ8D"
;;

View File

@@ -2,8 +2,7 @@ nvivo)
name="NVivo"
type="dmg"
downloadURL="https://download.qsrinternational.com/Software/NVivoforMac/NVivo.dmg"
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | tr '/' '
' | grep "[0-9]" | cut -d "." -f1-3 )
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | tr '/' '\n' | grep "[0-9]" | cut -d "." -f1-3 )
expectedTeamID="A66L57342X"
blockingProcesses=( NVivo NVivoHelper )
;;

7
fragments/labels/obs.sh Normal file
View File

@@ -0,0 +1,7 @@
obs)
# credit: Gabe Marchan (gabemarchan.com - @darklink87)
name="OBS"
type="dmg"
downloadURL=$(curl -fs "https://obsproject.com/download" | awk -F '"' "/dmg/ {print \$10}")
expectedTeamID="2MMRE5MTB8"
;;

View File

@@ -2,8 +2,7 @@ onionshare)
# credit: Søren Theilgaard (@theilgaard)
name="OnionShare"
type="dmg"
downloadURL="https://onionshare.org$(curl -fs https://onionshare.org | grep "button.*dmg" | tr '"' '
' | grep ".dmg")"
downloadURL="https://onionshare.org$(curl -fs https://onionshare.org | grep "button.*dmg" | tr '"' '\n' | grep ".dmg")"
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="N9B95FDWH4"
;;

View File

@@ -1,5 +1,4 @@
onlyofficedesktop)
# credit: Adrian Bühler (@midni9ht)
name="ONLYOFFICE"
type="dmg"
downloadURL="https://download.onlyoffice.com/install/desktop/editors/mac/distrib/onlyoffice/ONLYOFFICE.dmg"

View File

@@ -1,10 +1,8 @@
opera)
name="Opera"
type="dmg"
downloadURL="https://get.geo.opera.com/ftp/pub/opera/desktop/"$( curl -fs "https://get.geo.opera.com/ftp/pub/opera/desktop/" | grep href | tail -1 | tr '"' '
' | grep "/" | head -1 )"mac/Opera_"$( curl -fs "https://get.geo.opera.com/ftp/pub/opera/desktop/" | grep href | tail -1 | tr '"' '
' | grep "/" | head -1 | sed -E 's/^([0-9.]*)\//\1/g' )"_Setup.dmg"
appNewVersion="$( curl -fs "https://get.geo.opera.com/ftp/pub/opera/desktop/" | grep href | tail -1 | tr '"' '
' | grep "/" | head -1 | sed -E 's/^([0-9]*\.[0-9]*).*\//\1/g' )"
downloadURL=$(curl -fsIL "$(curl -fs "$(curl -fsIL "https://download.opera.com/download/get/?partner=www&opsys=MacOS" | grep -i "^location" | cut -d " " -f2 | tail -1 | tr -d '\r')" | grep download.opera.com | grep -io "https.*yes" | sed 's/\&amp;/\&/g')" | grep -i "^location" | cut -d " " -f2 | tr -d '\r')
appNewVersion="$(curl -fs "https://get.geo.opera.com/ftp/pub/opera/desktop/" | grep "href=\"\d" | sort -V | tail -1 | tr '"' '\n' | grep "/" | head -1 | tr -d '/')"
versionKey="CFBundleVersion"
expectedTeamID="A2P9LX4JPN"
;;

View File

@@ -1,6 +1,6 @@
plantronicshub)
name="Plantronics Hub"
type="dmg"
type="pkgInDmg"
downloadURL="https://www.poly.com/content/dam/www/software/PlantronicsHubInstaller.dmg"
expectedTeamID="SKWK2Q7JJV"
appNewVersion=$(curl -fs "https://www.poly.com/in/en/support/knowledge-base/kb-article-page?lang=en_US&urlName=Hub-Release-Notes&type=Product_Information__kav" | grep -o "(*.*<span>)" | head -1 | cut -d "(" -f2 | sed 's/\<\/span\>//g' | cut -d "<" -f1)

View File

@@ -3,6 +3,6 @@ postman)
name="Postman"
type="zip"
downloadURL="https://dl.pstmn.io/download/latest/osx"
appNewVersion=$(curl -Ifs https://dl.pstmn.io/download/latest/osx | grep "content-disposition:" | sed -n -e 's/^.*Postman-osx-//p' | sed 's/\.zip//' | sed $'s/[^[:print:] ]//g' )
appNewVersion=$(curl -Ifs https://dl.pstmn.io/download/latest/osx | grep "content-disposition:" | sed -n -e 's/^.*Postman-osx-//p' | sed 's/\.zip//' | sed $'s/[^[:print:]\t]//g' )
expectedTeamID="H7H8Q7M5CK"
;;

View File

@@ -4,5 +4,4 @@ proctortrack)
type="zip"
downloadURL="https://storage.googleapis.com/verificientstatic/ProctortrackApp/Production/Proctortrack.zip"
expectedTeamID="SNHZD6TJE6"
#Company="Verificient Technologies"
;;

View File

@@ -4,5 +4,4 @@ promiseutilityr)
packageID="com.promise.utilinstaller"
downloadURL="https://www.promise.com/DownloadFile.aspx?DownloadFileUID=6533"
expectedTeamID="268CCUR4WN"
#Company="Promise"
;;

View File

@@ -0,0 +1,7 @@
proxyman)
name="Proxyman"
type="dmg"
downloadURL="https://proxyman.io/release/osx/Proxyman_latest.dmg"
expectedTeamID="3X57WP8E8V"
appNewVersion=$(curl -s -L https://github.com/ProxymanApp/Proxyman | grep -o 'releases/tag/.*\>' | awk -F '/' '{print $3}')
;;

View File

@@ -3,5 +3,4 @@ pymol)
type="dmg"
downloadURL=$(curl -s -L "https://pymol.org/" | grep -m 1 -Eio 'href="https://pymol.org/installers/PyMOL-(.*)-MacOS(.*).dmg"' | cut -c7- | sed -e 's/"$//')
expectedTeamID="26SDDJ756N"
#Company="Schrödinger, Inc."
;;

View File

@@ -1,5 +1,4 @@
ramboxce)
# credit: Adrian Bühler (@midni9ht)
name="Rambox"
type="dmg"
downloadURL=$(downloadURLFromGit ramboxapp community-edition )

View File

@@ -4,6 +4,4 @@ ricohpsprinters)
packageID="com.RICOH.print.PS_Printers_Vol4_EXP.ppds.pkg"
downloadURL=$(curl -fs https://support.ricoh.com//bb/html/dr_ut_e/rc3/model/mpc3004ex/mpc3004exen.htm | xmllint --html --format - 2>/dev/null | grep -m 1 -o "https://.*.dmg" | cut -d '"' -f 1)
expectedTeamID="5KACUT3YX8"
#Company="Ricoh"
#PatchSkip="YES"
;;

Some files were not shown because too many files have changed in this diff Show More