mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-09 22:04:53 +01:00
changed fragments to .sh extension
This commit is contained in:
13
fragments/labels/notion.sh
Normal file
13
fragments/labels/notion.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
notion)
|
||||
# credit: Søren Theilgaard (@theilgaard)
|
||||
name="Notion"
|
||||
type="dmg"
|
||||
if [[ $(arch) == "arm64" ]]; then
|
||||
downloadURL="https://www.notion.so/desktop/apple-silicon/download"
|
||||
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' )
|
||||
expectedTeamID="LBQJ96FQ8D"
|
||||
;;
|
||||
Reference in New Issue
Block a user