mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-05 06:13:15 +01:00
changed fragments to .sh extension
This commit is contained in:
13
fragments/labels/slack.sh
Normal file
13
fragments/labels/slack.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
slack)
|
||||
name="Slack"
|
||||
type="dmg"
|
||||
downloadURL="https://slack.com/ssb/download-osx-universal" # Universal
|
||||
# if [[ $(arch) == "arm64" ]]; then
|
||||
# downloadURL="https://slack.com/ssb/download-osx-silicon"
|
||||
# elif [[ $(arch) == "i386" ]]; then
|
||||
# downloadURL="https://slack.com/ssb/download-osx"
|
||||
# fi
|
||||
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "^location" | awk '{print $2}' | tr -d '
|
||||
' | sed -E 's/.*macos\/([0-9.]*)\/.*/\1/g' )
|
||||
expectedTeamID="BQR82RBBHL"
|
||||
;;
|
||||
Reference in New Issue
Block a user