mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-19 05:10:57 +00:00
Got 'spotify' ready for Apple Silicon
'spotify' is now ready for Apple Silicon
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
spotify)
|
spotify)
|
||||||
name="Spotify"
|
name="Spotify"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL="https://download.scdn.co/Spotify.dmg"
|
if [[ $(arch) == arm64 ]]; then
|
||||||
|
downloadURL="https://download.scdn.co/SpotifyARM64.dmg"
|
||||||
|
elif [[ $(arch) == i386 ]]; then
|
||||||
|
downloadURL="https://download.scdn.co/Spotify.dmg"
|
||||||
|
fi
|
||||||
# appNewVersion=$(curl -fs https://www.spotify.com/us/opensource/ | cat | grep -o "<td>.*.</td>" | head -1 | cut -d ">" -f2 | cut -d "<" -f1) # does not result in the same version as downloaded
|
# appNewVersion=$(curl -fs https://www.spotify.com/us/opensource/ | cat | grep -o "<td>.*.</td>" | head -1 | cut -d ">" -f2 | cut -d "<" -f1) # does not result in the same version as downloaded
|
||||||
expectedTeamID="2FNC3A47ZF"
|
expectedTeamID="2FNC3A47ZF"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user