Update Fleet-maintained apps (#37381)

Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: allenhouchins <32207388+allenhouchins@users.noreply.github.com>
This commit is contained in:
fleet-release 2025-12-16 20:45:53 -06:00 committed by GitHub
parent 0adb194b4c
commit db4fcb0a6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 34 additions and 34 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,21 +1,21 @@
{
"versions": [
{
"version": "16.103.25110922",
"version": "16.104.25121423",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.microsoft.onenote.mac';"
},
"installer_url": "https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_OneNote_16.103.25110922_Updater.pkg",
"install_script_ref": "39e9a6ea",
"installer_url": "https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/Microsoft_OneNote_16.104.25121423_Updater.pkg",
"install_script_ref": "1222fd6d",
"uninstall_script_ref": "68a278f7",
"sha256": "96841d7b700425dbcd65703808c5f8a9f324ca065bd90b343081fb4233f3ced5",
"sha256": "19592be03c77897a590f96d54615b64e0e72597687ae64eb79b28d33596eb7d9",
"default_categories": [
"Productivity"
]
}
],
"refs": {
"39e9a6ea": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nTMPDIR=$(dirname \"$(realpath $INSTALLER_PATH)\")\n\n# install pkg files\nsudo installer -pkg \"$TMPDIR/Microsoft_OneNote_16.103.25110922_Updater.pkg\" -target /\n",
"1222fd6d": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nTMPDIR=$(dirname \"$(realpath $INSTALLER_PATH)\")\n\n# install pkg files\nsudo installer -pkg \"$TMPDIR/Microsoft_OneNote_16.104.25121423_Updater.pkg\" -target /\n",
"68a278f7": "#!/bin/sh\n\n# variables\nLOGGED_IN_USER=$(scutil <<< \"show State:/Users/ConsoleUser\" | awk '/Name :/ { print $3 }')\n# functions\n\nexpand_pkgid_and_map() {\n local PKGID=\"$1\"\n local FUNC=\"$2\"\n if [[ \"$PKGID\" == *\"*\" ]]; then\n local prefix=\"${PKGID%\\*}\"\n echo \"Expanding wildcard for PKGID: $PKGID\"\n for receipt in $(pkgutil --pkgs | grep \"^${prefix}\"); do\n echo \"Processing $receipt\"\n \"$FUNC\" \"$receipt\"\n done\n else\n \"$FUNC\" \"$PKGID\"\n fi\n}\n\nforget_pkg() {\n local PKGID=\"$1\"\n expand_pkgid_and_map \"$PKGID\" forget_receipt\n}\n\nforget_receipt() {\n local PKGID=\"$1\"\n sudo pkgutil --forget \"$PKGID\"\n}\n\nremove_pkg_files() {\n local PKGID=\"$1\"\n expand_pkgid_and_map \"$PKGID\" remove_receipt_files\n}\n\nremove_receipt_files() {\n local PKGID=\"$1\"\n local PKGINFO VOLUME INSTALL_LOCATION FULL_INSTALL_LOCATION\n\n echo \"pkgutil --pkg-info-plist \\\"$PKGID\\\"\"\n PKGINFO=$(pkgutil --pkg-info-plist \"$PKGID\")\n VOLUME=$(echo \"$PKGINFO\" | awk '/<key>volume<\\/key>/ {getline; gsub(/.*<string>|<\\/string>.*/, \"\"); print}')\n INSTALL_LOCATION=$(echo \"$PKGINFO\" | awk '/<key>install-location<\\/key>/ {getline; gsub(/.*<string>|<\\/string>.*/, \"\"); print}')\n\n if [ -z \"$INSTALL_LOCATION\" ] || [ \"$INSTALL_LOCATION\" = \"/\" ]; then\n FULL_INSTALL_LOCATION=\"$VOLUME\"\n else\n FULL_INSTALL_LOCATION=\"$VOLUME/$INSTALL_LOCATION\"\n FULL_INSTALL_LOCATION=$(echo \"$FULL_INSTALL_LOCATION\" | sed 's|//|/|g')\n fi\n\n echo \"sudo pkgutil --only-files --files \\\"$PKGID\\\" | sed \\\"s|^|${FULL_INSTALL_LOCATION}/|\\\" | tr '\\\\\\\\n' '\\\\\\\\0' | /usr/bin/sudo -u root -E -- /usr/bin/xargs -0 -- /bin/rm -rf\"\n sudo pkgutil --only-files --files \"$PKGID\" | sed \"s|^|/${INSTALL_LOCATION}/|\" | tr '\\n' '\\0' | /usr/bin/sudo -u root -E -- /usr/bin/xargs -0 -- /bin/rm -rf\n\n echo \"sudo pkgutil --only-dirs --files \\\"$PKGID\\\" | sed \\\"s|^|${FULL_INSTALL_LOCATION}/|\\\" | grep '\\\\.app$' | tr '\\\\\\\\n' '\\\\\\\\0' | /usr/bin/sudo -u root -E -- /usr/bin/xargs -0 -- /bin/rm -rf\"\n sudo pkgutil --only-dirs --files \"$PKGID\" | sed \"s|^|${FULL_INSTALL_LOCATION}/|\" | grep '\\.app$' | tr '\\n' '\\0' | /usr/bin/sudo -u root -E -- /usr/bin/xargs -0 -- /bin/rm -rf\n\n root_app_dir=$(\n sudo pkgutil --only-dirs --files \"$PKGID\" \\\n | sed \"s|^|${FULL_INSTALL_LOCATION}/|\" \\\n | grep 'Applications' \\\n | awk '{ print length, $0 }' \\\n | sort -n \\\n | head -n1 \\\n | cut -d' ' -f2-\n )\n if [ -n \"$root_app_dir\" ]; then\n echo \"sudo rmdir -p \\\"$root_app_dir\\\" 2>/dev/null || :\"\n sudo rmdir -p \"$root_app_dir\" 2>/dev/null || :\n fi\n}\n\ntrash() {\n local logged_in_user=\"$1\"\n local target_file=\"$2\"\n local timestamp=\"$(date +%Y-%m-%d-%s)\"\n local rand=\"$(jot -r 1 0 99999)\"\n\n # replace ~ with /Users/$logged_in_user\n if [[ \"$target_file\" == ~* ]]; then\n target_file=\"/Users/$logged_in_user${target_file:1}\"\n fi\n\n local trash=\"/Users/$logged_in_user/.Trash\"\n local file_name=\"$(basename \"${target_file}\")\"\n\n if [[ -e \"$target_file\" ]]; then\n echo \"removing $target_file.\"\n mv -f \"$target_file\" \"$trash/${file_name}_${timestamp}_${rand}\"\n else\n echo \"$target_file doesn't exist.\"\n fi\n}\n\nremove_pkg_files 'com.microsoft.package.Microsoft_OneNote.app'\nforget_pkg 'com.microsoft.package.Microsoft_OneNote.app'\nsudo rm -rf '/Applications/Microsoft OneNote.app'\ntrash $LOGGED_IN_USER '~/Library/Application Scripts/com.microsoft.onenote.mac*'\ntrash $LOGGED_IN_USER '~/Library/Containers/com.microsoft.onenote.mac*'\n"
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
{
"versions": [
{
"version": "16.104.25121423",
"version": "16.104",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.microsoft.Word';"
},

View file

@ -1,14 +1,14 @@
{
"versions": [
{
"version": "11.76.0",
"version": "11.76.3",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.postmanlabs.mac';"
},
"installer_url": "https://dl.pstmn.io/download/version/11.76.0/osx_arm64",
"installer_url": "https://dl.pstmn.io/download/version/11.76.3/osx_arm64",
"install_script_ref": "a937991a",
"uninstall_script_ref": "15e9f11c",
"sha256": "4f408324a8de82d50100ca7d90a170b0fbc9938cad242ac6f3f5ac87c6e12175",
"sha256": "44a727e3b90eb2934fa839cf1c90deae57b35614f4643221c8a8ba2789ca4da5",
"default_categories": [
"Developer tools"
]

View file

@ -1,14 +1,14 @@
{
"versions": [
{
"version": "11.76.0",
"version": "11.76.3",
"queries": {
"exists": "SELECT 1 FROM programs WHERE name = 'Postman x64 11.75.4' AND publisher = 'Postman';"
},
"installer_url": "https://dl.pstmn.io/download/version/11.76.0/windows_64",
"installer_url": "https://dl.pstmn.io/download/version/11.76.3/windows_64",
"install_script_ref": "538f63bf",
"uninstall_script_ref": "93f01aba",
"sha256": "1bd79015443244cc202012c5d01ecda96b23e19f3ce79e4cf5c5431e319c8f16",
"sha256": "d9b9063e60078019188a2152d4da592f34698cbcacb0756e3e233879d3aeaf26",
"default_categories": [
"Developer tools"
]

File diff suppressed because one or more lines are too long

View file

@ -1,14 +1,14 @@
{
"versions": [
{
"version": "1.92.1",
"version": "1.92.3",
"queries": {
"exists": "SELECT 1 FROM programs WHERE name = 'Tailscale' AND publisher = 'Tailscale Inc.';"
},
"installer_url": "https://pkgs.tailscale.com/stable/tailscale-setup-1.92.1-amd64.msi",
"installer_url": "https://pkgs.tailscale.com/stable/tailscale-setup-1.92.3-amd64.msi",
"install_script_ref": "8959087b",
"uninstall_script_ref": "b9d2f3d7",
"sha256": "90f51d4849a906b3759fb5a56e957fdca16e31b1200a5de808fd36f588093279",
"sha256": "d838d3bbf944fe75d570f4f2bd7a55de8c1196b805451714607ee7078dcc82e9",
"default_categories": [
"Productivity"
],

View file

@ -1,14 +1,14 @@
{
"versions": [
{
"version": "0.216.1",
"version": "0.217.1",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'dev.zed.Zed';"
},
"installer_url": "https://zed.dev/api/releases/stable/0.216.1/Zed-aarch64.dmg",
"installer_url": "https://zed.dev/api/releases/stable/0.217.1/Zed-aarch64.dmg",
"install_script_ref": "0c42ebe0",
"uninstall_script_ref": "a96df5e9",
"sha256": "f3bf213666eba73746bf68808a410b2baec551630d53458bfcc5200d2512beca",
"sha256": "7afe573074df95c0f38221ecfe725ca18b8ffaa497f54f3030bb10dd6047f2de",
"default_categories": [
"Developer tools"
]