mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
By using variable `archiveName` we can let Installomator find the right archive in the github list of possibilities. I think this is a more cleaner approach.
14 lines
418 B
Bash
14 lines
418 B
Bash
logseq)
|
|
name="Logseq"
|
|
type="dmg"
|
|
if [[ $(arch) == "arm64" ]]; then
|
|
archiveName="darwin-arm64-[0-9.]*.dmg"
|
|
downloadURL=$(downloadURLFromGit logseq logseq)
|
|
elif [[ $(arch) == "i386" ]]; then
|
|
archiveName="darwin-x64-[0-9.]*.dmg"
|
|
downloadURL=$(downloadURLFromGit logseq logseq)
|
|
fi
|
|
appNewVersion=$(versionFromGit logseq logseq)
|
|
expectedTeamID="3K44EUN829"
|
|
;;
|