Merge pull request #3349 from turquoise-turtle/googledrive-versionkey

googledrive: compare CFBundleVersion
This commit is contained in:
Gil Burns
2026-10-01 21:49:04 -05:00
committed by GitHub

View File

@@ -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"
;;