mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-07 14:23:11 +01:00
Improved 'keepassxc'
Improved `keepassxc` to use `archiveName`. This makes the handling a lot easier.
This commit is contained in:
@@ -1817,12 +1817,11 @@ keepassxc)
|
|||||||
name="KeePassXC"
|
name="KeePassXC"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
if [[ $(arch) == i386 ]]; then
|
if [[ $(arch) == i386 ]]; then
|
||||||
downloadURL=$(curl --silent --fail "https://api.github.com/repos/keepassxreboot/keepassxc/releases/latest" \
|
archiveName="x86_64.dmg"
|
||||||
| awk -F '"' "/browser_download_url/ && /x86_64/ && ! /sig/ && ! /AppImage/ && ! /DIGEST/ { print \$4 }")
|
|
||||||
elif [[ $(arch) == arm64 ]]; then
|
elif [[ $(arch) == arm64 ]]; then
|
||||||
downloadURL=$(curl --silent --fail "https://api.github.com/repos/keepassxreboot/keepassxc/releases/latest" \
|
archiveName="arm64.dmg"
|
||||||
| awk -F '"' "/browser_download_url/ && /arm64/ && ! /sig/ && ! /AppImage/ && ! /DIGEST/ { print \$4 }")
|
|
||||||
fi
|
fi
|
||||||
|
downloadURL=$(downloadURLFromGit keepassxreboot keepassxc)
|
||||||
appNewVersion=$(versionFromGit keepassxreboot keepassxc)
|
appNewVersion=$(versionFromGit keepassxreboot keepassxc)
|
||||||
expectedTeamID="G2S7P7J672"
|
expectedTeamID="G2S7P7J672"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user