Update Fleet-maintained apps (#41445)

Automated ingestion of latest Fleet-maintained app data.

Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com>
This commit is contained in:
fleet-release
2026-03-11 10:04:09 -05:00
committed by GitHub
co-authored by mostlikelee
parent fe199d00f7
commit 60a8dc85d5
19 changed files with 69 additions and 69 deletions
File diff suppressed because one or more lines are too long
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "1.2026.56.5",
"version": "1.2026.63.7",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.openai.atlas';"
},
"installer_url": "https://persistent.oaistatic.com/atlas/public/ChatGPT_Atlas_Desktop_public_1.2026.56.5_20260302173142000.dmg",
"installer_url": "https://persistent.oaistatic.com/atlas/public/ChatGPT_Atlas_Desktop_public_1.2026.63.7_20260309220323000.dmg",
"install_script_ref": "289abde8",
"uninstall_script_ref": "eb68389d",
"sha256": "3c812979915e12568097bd52c0cdccee9cb5a68e54559e9feebcdf84da2863fe",
"sha256": "b02b89f43a226773152efdb0a71ef13b5a4cfa65f9ea0decb82952b318f3315c",
"default_categories": [
"Browsers"
]
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "1.1.5749",
"version": "1.1.6041",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.anthropic.claudefordesktop';"
},
"installer_url": "https://downloads.claude.ai/releases/darwin/universal/1.1.5749/Claude-ecf3d94e6eb8c8af9caed33a16c58e199abe2aec.zip",
"installer_url": "https://downloads.claude.ai/releases/darwin/universal/1.1.6041/Claude-62e193c55a57c09a3640f5cf09c3759e802a4d46.zip",
"install_script_ref": "eef78d20",
"uninstall_script_ref": "4cfbec7d",
"sha256": "7b55c0dd05ee60789ef91c3f0f51608f104dcc27e27c6353872b9b080c855281",
"sha256": "df4dee4bc4d1a0624c8caa95ef9006a70d7e8e087c4cb583d1135189ac93fdc6",
"default_categories": [
"Developer tools"
]
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "25.3.0",
"version": "26.0.0",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.dbeaver.product.enterprise';"
},
"installer_url": "https://dbeaver.com/files/25.3.0/dbeaver-ee-25.3.0-macos-aarch64.dmg",
"installer_url": "https://downloads.dbeaver.net/enterprise/26.0.0/dbeaver-ee-26.0.0-macos-aarch64.dmg",
"install_script_ref": "829869fc",
"uninstall_script_ref": "35043e56",
"sha256": "fde54b4b1c4014adec517f066a8d780012f6e582a9892314b84c58c01b9f65f5",
"sha256": "f1b5aef7d32ed1536871dd4270455dff3a665249db2f1fbbeba5cd75b3c27969",
"default_categories": [
"Developer tools"
]
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "4.63.0",
"version": "4.64.0",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.electron.dockerdesktop';"
},
"installer_url": "https://desktop.docker.com/mac/main/arm64/220185/Docker.dmg",
"installer_url": "https://desktop.docker.com/mac/main/arm64/221278/Docker.dmg",
"install_script_ref": "2fd921da",
"uninstall_script_ref": "876e899c",
"sha256": "02d8fb3dfc8b5a0a1d29779e5c99321ee3d586b4c2067943e3de0b7bcf027c09",
"sha256": "9ecfb1a3a45945bec5e3e541557259cfe89705622baf41402f04593ee8d4279f",
"default_categories": [
"Developer tools"
]
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "3.5.5",
"version": "3.5.6",
"queries": {
"exists": "SELECT 1 FROM programs WHERE name = 'GitHub Desktop' AND publisher = 'GitHub, Inc.';"
},
"installer_url": "https://desktop.githubusercontent.com/releases/3.5.5-95c667e3/GitHubDesktopSetup-x64.msi",
"installer_url": "https://desktop.githubusercontent.com/releases/3.5.6-a180a018/GitHubDesktopSetup-x64.msi",
"install_script_ref": "8959087b",
"uninstall_script_ref": "f0fcaa82",
"sha256": "d8fa3446113230637927dc70e8e0f4f6cd54332177586670f92d8aa1b148da13",
"sha256": "bb2b5ef2257ec7c37033262ab236c44d972b9f67e0b1562c5a38e1e3c499b27d",
"default_categories": [
"Developer tools"
],
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "3.5.5",
"version": "3.5.6",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.github.GitHubClient';"
},
"installer_url": "https://desktop.githubusercontent.com/releases/3.5.5-95c667e3/GitHubDesktop-arm64.zip",
"installer_url": "https://desktop.githubusercontent.com/releases/3.5.6-a180a018/GitHubDesktop-arm64.zip",
"install_script_ref": "6898fe3b",
"uninstall_script_ref": "e8252f2a",
"sha256": "910e1709f6988b847a95725a391d99875245e826b4df790e21169e1d013d0ded",
"sha256": "4d0c77c133a57710b8ebc67f2eee4bba9fd0417867c781e8420aeb8511d901e7",
"default_categories": [
"Developer tools"
]
@@ -1,7 +1,7 @@
{
"versions": [
{
"version": "145.0.7632.160",
"version": "146.0.7680.72",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.google.Chrome';"
},
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "3.6.8",
"version": "3.6.9",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.googlecode.iterm2';"
},
"installer_url": "https://iterm2.com/downloads/stable/iTerm2-3_6_8.zip",
"installer_url": "https://iterm2.com/downloads/stable/iTerm2-3_6_9.zip",
"install_script_ref": "21022a53",
"uninstall_script_ref": "f76177f9",
"sha256": "dffa21e268b162988e50603d93f8e26fa84e4d1d42e693d7fd2d1d10a54e9540",
"sha256": "27c00f476978c0a243144a0e03f01345facd0812ce4112fabaa54168c050b19e",
"default_categories": [
"Developer tools"
]
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "2.7.11",
"version": "2.7.12",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'org.keepassx.keepassxc';"
},
"installer_url": "https://github.com/keepassxreboot/keepassxc/releases/download/2.7.11/KeePassXC-2.7.11-1-arm64.dmg",
"installer_url": "https://github.com/keepassxreboot/keepassxc/releases/download/2.7.12/KeePassXC-2.7.12-arm64.dmg",
"install_script_ref": "4c077891",
"uninstall_script_ref": "367d14a0",
"sha256": "11c514ed9fcc33b82d2a8e113bfc989b5834335dafd7a5dadd8942410cfbd025",
"sha256": "65f4f63607180c0a15794b4a4068f85e99ed5391c87c1fb9312648f1b36fed40",
"default_categories": [
"Productivity"
]
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "7.6.1",
"version": "7.7.1",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'notion.id';"
},
"installer_url": "https://desktop-release.notion-static.com/Notion-7.6.1-arm64.dmg",
"installer_url": "https://desktop-release.notion-static.com/Notion-7.7.1-arm64.dmg",
"install_script_ref": "2c56ecc2",
"uninstall_script_ref": "21cd1000",
"sha256": "cb3447cfab5107e0f6e6f199538262374879579c1129d2cbd50f32e31645c237",
"sha256": "4a90a727e757aa72e0f13dbf71c87ef76fce2fc5ee05ee2d89441506fc2cebc8",
"default_categories": [
"Productivity"
]
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "12.1.1",
"version": "12.1.2",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.postmanlabs.mac';"
},
"installer_url": "https://dl.pstmn.io/download/version/12.1.1/osx_arm64",
"installer_url": "https://dl.pstmn.io/download/version/12.1.2/osx_arm64",
"install_script_ref": "3e5dcf18",
"uninstall_script_ref": "15e9f11c",
"sha256": "a3645c8a46ef2bb9d09ac0f012ca73e609c3532fceca184bf8577a1b0d8e0f44",
"sha256": "a8143831e03b53460fe55d226973fa8ba450c2686a3254c5d649b2a72238c5aa",
"default_categories": [
"Developer tools"
]
@@ -1,14 +1,14 @@
{
"versions": [
{
"version": "18.7.2",
"version": "18.7.3",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'gravitational.teleport.connect';"
},
"installer_url": "https://cdn.teleport.dev/Teleport%20Connect-18.7.2.dmg",
"installer_url": "https://cdn.teleport.dev/Teleport%20Connect-18.7.3.dmg",
"install_script_ref": "c4abf467",
"uninstall_script_ref": "b6540188",
"sha256": "5b921a8eb20334f3e5c841118966e6433b361e62c6533821564d4f7c177158bb",
"sha256": "8feae0a5ee67039ba00315d7c91e76a4e203919dffcb66a51d7d8648cda39ca5",
"default_categories": [
"Productivity"
]
@@ -1,21 +1,21 @@
{
"versions": [
{
"version": "18.7.2",
"version": "18.7.3",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.gravitational.teleport';"
},
"installer_url": "https://cdn.teleport.dev/teleport-18.7.2.pkg",
"install_script_ref": "bf156948",
"installer_url": "https://cdn.teleport.dev/teleport-18.7.3.pkg",
"install_script_ref": "3435fc52",
"uninstall_script_ref": "42474e69",
"sha256": "57bf7e0c69ff38f91a3d76fdb0236ba632ab62c27d3a3a51fcebe515fd2f65cd",
"sha256": "ecec5030b99b5981d3d9be8e0478bfde21940ccf29e426fb2403de6211fc12a0",
"default_categories": [
"Developer tools"
]
}
],
"refs": {
"42474e69": "#!/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 # Convert (.*) to .* for regex matching to handle patterns like (.*).com.example.app\n local regex_pattern=$(echo \"$prefix\" | sed 's/(\\.\\*)/.*/g')\n echo \"Expanding wildcard for PKGID: $PKGID (pattern: ^${regex_pattern})\"\n for receipt in $(pkgutil --pkgs | grep -E \"^${regex_pattern}\"); 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|^|${FULL_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\n# Remove teleport-suite packages (handles wildcard patterns with (.*))\nremove_pkg_files '(.*).com.gravitational.teleport.tctl'\nforget_pkg '(.*).com.gravitational.teleport.tctl'\nremove_pkg_files '(.*).com.gravitational.teleport.tsh'\nforget_pkg '(.*).com.gravitational.teleport.tsh'\nremove_pkg_files 'com.gravitational.teleport'\nforget_pkg 'com.gravitational.teleport'\n\n# Explicitly remove apps from /Applications (in case pkgutil removal didn't catch them)\nsudo rm -rf '/Applications/tctl.app'\nsudo rm -rf '/Applications/tsh.app'\n\n# Remove binaries\nsudo rm -rf '/usr/local/bin/fdpass-teleport'\nsudo rm -rf '/usr/local/bin/tbot'\nsudo rm -rf '/usr/local/bin/tctl'\nsudo rm -rf '/usr/local/bin/teleport'\nsudo rm -rf '/usr/local/bin/tsh'\n\n# Remove user data\ntrash $LOGGED_IN_USER '~/.tsh'\n\n",
"bf156948": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nTMPDIR=$(dirname \"$(realpath $INSTALLER_PATH)\")\n# functions\n\nquit_and_track_application() {\n local bundle_id=\"$1\"\n local var_name=\"APP_WAS_RUNNING_$(echo \"$bundle_id\" | tr '.-' '__')\"\n local timeout_duration=10\n\n # check if the application is running\n if ! osascript -e \"application id \\\"$bundle_id\\\" is running\" 2>/dev/null; then\n eval \"export $var_name=0\"\n return\n fi\n\n local console_user\n console_user=$(stat -f \"%Su\" /dev/console)\n if [[ $EUID -eq 0 && \"$console_user\" == \"root\" ]]; then\n echo \"Not logged into a non-root GUI; skipping quitting application ID '$bundle_id'.\"\n eval \"export $var_name=0\"\n return\n fi\n\n # App was running, mark it for relaunch\n eval \"export $var_name=1\"\n echo \"Application '$bundle_id' was running; will relaunch after installation.\"\n\n echo \"Quitting application '$bundle_id'...\"\n\n # try to quit the application within the timeout period\n local quit_success=false\n SECONDS=0\n while (( SECONDS < timeout_duration )); do\n if osascript -e \"tell application id \\\"$bundle_id\\\" to quit\" >/dev/null 2>&1; then\n if ! pgrep -f \"$bundle_id\" >/dev/null 2>&1; then\n echo \"Application '$bundle_id' quit successfully.\"\n quit_success=true\n break\n fi\n fi\n sleep 1\n done\n\n if [[ \"$quit_success\" = false ]]; then\n echo \"Application '$bundle_id' did not quit.\"\n fi\n}\n\n\nrelaunch_application() {\n local bundle_id=\"$1\"\n local var_name=\"APP_WAS_RUNNING_$(echo \"$bundle_id\" | tr '.-' '__')\"\n local was_running\n\n # Check if the app was running before installation\n eval \"was_running=\\$$var_name\"\n if [[ \"$was_running\" != \"1\" ]]; then\n return\n fi\n\n local console_user\n console_user=$(stat -f \"%Su\" /dev/console)\n if [[ $EUID -eq 0 && \"$console_user\" == \"root\" ]]; then\n echo \"Not logged into a non-root GUI; skipping relaunching application ID '$bundle_id'.\"\n return\n fi\n\n echo \"Relaunching application '$bundle_id'...\"\n\n # Try to launch the application\n if osascript -e \"tell application id \\\"$bundle_id\\\" to activate\" >/dev/null 2>&1; then\n echo \"Application '$bundle_id' relaunched successfully.\"\n else\n echo \"Failed to relaunch application '$bundle_id'.\"\n fi\n}\n\n\n# install pkg files\nquit_and_track_application 'com.gravitational.teleport'\nsudo installer -pkg \"$TMPDIR/teleport-18.7.2.pkg\" -target /\nrelaunch_application 'com.gravitational.teleport'\n"
"3435fc52": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nTMPDIR=$(dirname \"$(realpath $INSTALLER_PATH)\")\n# functions\n\nquit_and_track_application() {\n local bundle_id=\"$1\"\n local var_name=\"APP_WAS_RUNNING_$(echo \"$bundle_id\" | tr '.-' '__')\"\n local timeout_duration=10\n\n # check if the application is running\n if ! osascript -e \"application id \\\"$bundle_id\\\" is running\" 2>/dev/null; then\n eval \"export $var_name=0\"\n return\n fi\n\n local console_user\n console_user=$(stat -f \"%Su\" /dev/console)\n if [[ $EUID -eq 0 && \"$console_user\" == \"root\" ]]; then\n echo \"Not logged into a non-root GUI; skipping quitting application ID '$bundle_id'.\"\n eval \"export $var_name=0\"\n return\n fi\n\n # App was running, mark it for relaunch\n eval \"export $var_name=1\"\n echo \"Application '$bundle_id' was running; will relaunch after installation.\"\n\n echo \"Quitting application '$bundle_id'...\"\n\n # try to quit the application within the timeout period\n local quit_success=false\n SECONDS=0\n while (( SECONDS < timeout_duration )); do\n if osascript -e \"tell application id \\\"$bundle_id\\\" to quit\" >/dev/null 2>&1; then\n if ! pgrep -f \"$bundle_id\" >/dev/null 2>&1; then\n echo \"Application '$bundle_id' quit successfully.\"\n quit_success=true\n break\n fi\n fi\n sleep 1\n done\n\n if [[ \"$quit_success\" = false ]]; then\n echo \"Application '$bundle_id' did not quit.\"\n fi\n}\n\n\nrelaunch_application() {\n local bundle_id=\"$1\"\n local var_name=\"APP_WAS_RUNNING_$(echo \"$bundle_id\" | tr '.-' '__')\"\n local was_running\n\n # Check if the app was running before installation\n eval \"was_running=\\$$var_name\"\n if [[ \"$was_running\" != \"1\" ]]; then\n return\n fi\n\n local console_user\n console_user=$(stat -f \"%Su\" /dev/console)\n if [[ $EUID -eq 0 && \"$console_user\" == \"root\" ]]; then\n echo \"Not logged into a non-root GUI; skipping relaunching application ID '$bundle_id'.\"\n return\n fi\n\n echo \"Relaunching application '$bundle_id'...\"\n\n # Try to launch the application\n if osascript -e \"tell application id \\\"$bundle_id\\\" to activate\" >/dev/null 2>&1; then\n echo \"Application '$bundle_id' relaunched successfully.\"\n else\n echo \"Failed to relaunch application '$bundle_id'.\"\n fi\n}\n\n\n# install pkg files\nquit_and_track_application 'com.gravitational.teleport'\nsudo installer -pkg \"$TMPDIR/teleport-18.7.3.pkg\" -target /\nrelaunch_application 'com.gravitational.teleport'\n",
"42474e69": "#!/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 # Convert (.*) to .* for regex matching to handle patterns like (.*).com.example.app\n local regex_pattern=$(echo \"$prefix\" | sed 's/(\\.\\*)/.*/g')\n echo \"Expanding wildcard for PKGID: $PKGID (pattern: ^${regex_pattern})\"\n for receipt in $(pkgutil --pkgs | grep -E \"^${regex_pattern}\"); 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|^|${FULL_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\n# Remove teleport-suite packages (handles wildcard patterns with (.*))\nremove_pkg_files '(.*).com.gravitational.teleport.tctl'\nforget_pkg '(.*).com.gravitational.teleport.tctl'\nremove_pkg_files '(.*).com.gravitational.teleport.tsh'\nforget_pkg '(.*).com.gravitational.teleport.tsh'\nremove_pkg_files 'com.gravitational.teleport'\nforget_pkg 'com.gravitational.teleport'\n\n# Explicitly remove apps from /Applications (in case pkgutil removal didn't catch them)\nsudo rm -rf '/Applications/tctl.app'\nsudo rm -rf '/Applications/tsh.app'\n\n# Remove binaries\nsudo rm -rf '/usr/local/bin/fdpass-teleport'\nsudo rm -rf '/usr/local/bin/tbot'\nsudo rm -rf '/usr/local/bin/tctl'\nsudo rm -rf '/usr/local/bin/teleport'\nsudo rm -rf '/usr/local/bin/tsh'\n\n# Remove user data\ntrash $LOGGED_IN_USER '~/.tsh'\n\n"
}
}
+2 -2
View File
@@ -1,11 +1,11 @@
{
"versions": [
{
"version": "0.2026.02.25.08.24.01",
"version": "0.2026.03.04.08.20.02",
"queries": {
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'dev.warp.Warp-Stable';"
},
"installer_url": "https://releases.warp.dev/stable/v0.2026.02.25.08.24.stable_01/Warp.dmg",
"installer_url": "https://releases.warp.dev/stable/v0.2026.03.04.08.20.stable_02/Warp.dmg",
"install_script_ref": "df0fd0b3",
"uninstall_script_ref": "54d05203",
"sha256": "no_check",