mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
check for arch
previous version of label was downloading the arm64 version every time
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
audacity)
|
||||
name="Audacity"
|
||||
type="dmg"
|
||||
if [[ $(arch) == "arm64" ]]; then
|
||||
archiveName="audacity-macOS-[0-9.]*-arm64.dmg"
|
||||
downloadURL=$(downloadURLFromGit audacity audacity)
|
||||
elif [[ $(arch) == "i386" ]]; then
|
||||
archiveName="audacity-macOS-[0-9.]*-x86_64.dmg"
|
||||
downloadURL=$(downloadURLFromGit audacity audacity)
|
||||
fi
|
||||
appNewVersion=$(versionFromGit audacity audacity)
|
||||
expectedTeamID="AWEYX923UX"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user