mirror of
https://github.com/Installomator/Installomator.git
synced 2026-10-07 17:00:40 +01:00
Merge pull request #3349 from turquoise-turtle/googledrive-versionkey
googledrive: compare CFBundleVersion
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
googledrive|\
|
||||
googledrivefilestream)
|
||||
name="Google Drive File Stream"
|
||||
name="Google Drive"
|
||||
type="pkgInDmg"
|
||||
appNewVersion=$(curl -s "https://community.chocolatey.org/packages/googledrive" | xmllint --html --xpath 'substring-after(string(//h1[@class="mb-0 text-center"]), "Google Drive")' - 2> /dev/null | tr -d '[:space:]')
|
||||
downloadURL="https://dl.google.com/drive-file-stream/GoogleDriveFileStream.dmg"
|
||||
appNewVersion=$(curl -fsL "https://community.chocolatey.org/api/v2/Packages()?%24filter=Id%20eq%20%27googledrive%27%20and%20IsLatestVersion" | xmllint --xpath 'string(//*[local-name()="Version"])' - 2>/dev/null)
|
||||
downloadURL="https://dl.google.com/drive-file-stream/GoogleDrive.dmg"
|
||||
blockingProcesses=( "Google Docs" "Google Drive" "Google Sheets" "Google Slides" )
|
||||
appName="Google Drive.app"
|
||||
versionKey="CFBundleVersion"
|
||||
expectedTeamID="EQHXZ8M8AV"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user