mirror of
https://github.com/fleetdm/fleet
synced 2026-05-05 06:18:25 +00:00
Automated ingestion of latest Fleet-maintained app data. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated package metadata for 27 applications across multiple platforms, including version bumps and installer checksums for: 1Password, Adobe Acrobat Reader, Arc, Brave Browser, Claude, Cursor, DataGrip, Dialpad, Docker, Google Chrome, iMazing Profile Editor, LastPass, Microsoft Office suite, Notion, OBS Studio, Postman, Raycast, Rider, Signal, TeamViewer, Telegram, Webex, WhatsApp, and Zed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: allenhouchins <32207388+allenhouchins@users.noreply.github.com>
22 lines
3.1 KiB
JSON
22 lines
3.1 KiB
JSON
{
|
|
"versions": [
|
|
{
|
|
"version": "4.68.0",
|
|
"queries": {
|
|
"exists": "SELECT 1 FROM programs WHERE name = 'Docker Desktop' AND publisher = 'Docker Inc.';",
|
|
"patched": "SELECT 1 WHERE NOT EXISTS (SELECT 1 FROM programs WHERE name = 'Docker Desktop' AND publisher = 'Docker Inc.' AND version_compare(version, '4.68.0') < 0);"
|
|
},
|
|
"installer_url": "https://desktop.docker.com/win/main/amd64/223695/Docker%20Desktop%20Installer.exe",
|
|
"install_script_ref": "f938db79",
|
|
"uninstall_script_ref": "000be0a3",
|
|
"sha256": "09dd3d5de2646e9fe8d578a59785d0da2f1a2dabafa1d35e1ff2e05c6e332c84",
|
|
"default_categories": [
|
|
"Developer tools"
|
|
]
|
|
}
|
|
],
|
|
"refs": {
|
|
"000be0a3": "# Define acceptable/expected exit codes\n$ExpectedExitCodes = @(0, 19)\n\n# Uninstall Registry Key\n$machineKey = 'HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Docker Desktop'\n\n# Initialize exit code\n$exitCode = 0\n\ntry {\n $key = Get-ItemProperty -Path $machineKey -ErrorAction Stop\n\n # Get the uninstall command. Some uninstallers do not include 'QuietUninstallString'\n $uninstallCommand = if ($key.QuietUninstallString) {\n $key.QuietUninstallString\n } else {\n $key.UninstallString\n }\n\n # The expected uninstall command value is \"C:\\Program Files\\Docker\\Docker\\Docker Desktop Installer.exe\" \"uninstall\"\n $splitArgs = $uninstallCommand.Split('\"')\n if ($splitArgs.Length -ne 5) {\n Throw \"Unexpected uninstall command. Please update the uninstall script.`nUninstall command: $uninstallCommand\"\n }\n $uninstallCommand = $splitArgs[1]\n $uninstallArgs = $splitArgs[3]\n\n Write-Host \"Uninstall command: $uninstallCommand\"\n Write-Host \"Uninstall args: $uninstallArgs\"\n\n $processOptions = @{\n FilePath = $uninstallCommand\n PassThru = $true\n Wait = $true\n }\n if ($uninstallArgs -ne '') {\n $processOptions.ArgumentList = \"$uninstallArgs --quiet\"\n } else {\n $processOptions.ArgumentList = \"--quiet\"\n }\n\n # Start uninstall process\n $process = Start-Process @processOptions\n $exitCode = $process.ExitCode\n Write-Host \"Uninstall exit code: $exitCode\"\n\n} catch {\n Write-Host \"Error: $_\"\n $exitCode = 1\n}\n\n# Treat acceptable exit codes as success\nif ($ExpectedExitCodes -contains $exitCode) {\n Exit 0\n} else {\n Exit $exitCode\n}\n",
|
|
"f938db79": "# Learn more about .exe install scripts:\n# http://fleetdm.com/learn-more-about/exe-install-scripts\n\n$exeFilePath = \"${env:INSTALLER_PATH}\"\n\ntry {\n\n# Add argument to install silently\n# Argument to make install silent depends on installer,\n# each installer might use different argument (usually it's \"/S\" or \"/s\")\n$processOptions = @{\n FilePath = \"$exeFilePath\"\n ArgumentList = \"install --quiet\"\n PassThru = $true\n Wait = $true\n}\n \n# Start process and track exit code\n$process = Start-Process @processOptions\n$exitCode = $process.ExitCode\n\n# Prints the exit code\nWrite-Host \"Install exit code: $exitCode\"\nExit $exitCode\n\n} catch {\n Write-Host \"Error: $_\"\n Exit 1\n}\n"
|
|
}
|
|
}
|