mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Update Fleet-maintained apps (#37870)
Automated ingestion of latest Fleet-maintained app data. --------- Co-authored-by: mostlikelee <16102903+mostlikelee@users.noreply.github.com> Co-authored-by: Allen Houchins <allenhouchins@mac.com>
This commit is contained in:
parent
b4bb714fa5
commit
67347a652a
4 changed files with 10 additions and 10 deletions
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "6.459.2",
|
||||
"version": "6.462.1",
|
||||
"queries": {
|
||||
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'com.granola.app';"
|
||||
},
|
||||
"installer_url": "https://dr2v7l5emb758.cloudfront.net/6.459.2/Granola-6.459.2-mac-universal.dmg",
|
||||
"installer_url": "https://dr2v7l5emb758.cloudfront.net/6.462.1/Granola-6.462.1-mac-universal.dmg",
|
||||
"install_script_ref": "1223720b",
|
||||
"uninstall_script_ref": "9f1ed248",
|
||||
"sha256": "a3edc18fe1804970ac5b26225720ee463fa9895d63d53342611dbc67f4da89b0",
|
||||
"sha256": "fa702f39fdfef776b0d4775c0daba58d467b331611317ef8d4b9b725ffb981c4",
|
||||
"default_categories": [
|
||||
"Productivity"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@
|
|||
"9acc05e6": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nTMPDIR=$(dirname \"$(realpath $INSTALLER_PATH)\")\n# functions\n\nquit_application() {\n local bundle_id=\"$1\"\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 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 return\n fi\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\n# extract contents\nMOUNT_POINT=$(mktemp -d /tmp/dmg_mount_XXXXXX)\nhdiutil attach -plist -nobrowse -readonly -mountpoint \"$MOUNT_POINT\" \"$INSTALLER_PATH\"\nsudo cp -R \"$MOUNT_POINT\"/* \"$TMPDIR\"\nhdiutil detach \"$MOUNT_POINT\"\n# copy to the applications folder\nquit_application 'com.knollsoft.Rectangle'\nif [ -d \"$APPDIR/Rectangle.app\" ]; then\n\tsudo mv \"$APPDIR/Rectangle.app\" \"$TMPDIR/Rectangle.app.bkp\"\nfi\nsudo cp -R \"$TMPDIR/Rectangle.app\" \"$APPDIR\"\n",
|
||||
"fd2d2084": "#!/bin/sh\n\n# variables\nAPPDIR=\"/Applications/\"\nLOGGED_IN_USER=$(scutil <<< \"show State:/Users/ConsoleUser\" | awk '/Name :/ { print $3 }')\n# functions\n\nquit_application() {\n local bundle_id=\"$1\"\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 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 return\n fi\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\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\nquit_application 'com.knollsoft.Rectangle'\nsudo rm -rf \"$APPDIR/Rectangle.app\"\ntrash $LOGGED_IN_USER '~/Library/Application Scripts/com.knollsoft.RectangleLauncher'\ntrash $LOGGED_IN_USER '~/Library/Application Support/Rectangle'\ntrash $LOGGED_IN_USER '~/Library/Caches/com.knollsoft.Rectangle'\ntrash $LOGGED_IN_USER '~/Library/Containers/com.knollsoft.RectangleLauncher'\ntrash $LOGGED_IN_USER '~/Library/HTTPStorages/com.knollsoft.Rectangle'\ntrash $LOGGED_IN_USER '~/Library/Preferences/com.knollsoft.Rectangle.plist'\ntrash $LOGGED_IN_USER '~/Library/WebKit/com.knollsoft.Rectangle'\n"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "12.3",
|
||||
"version": "12.4",
|
||||
"queries": {
|
||||
"exists": "SELECT 1 FROM apps WHERE bundle_identifier = 'ru.keepcoder.Telegram';"
|
||||
},
|
||||
"installer_url": "https://osx.telegram.org/updates/Telegram-12.3.277495.app.zip",
|
||||
"installer_url": "https://osx.telegram.org/updates/Telegram-12.4.277872.app.zip",
|
||||
"install_script_ref": "8e5525d9",
|
||||
"uninstall_script_ref": "a39fa3ea",
|
||||
"sha256": "da4274b8df5474581cbce1a7b28286fb1521155991b8b9cb232eb0289929b15e",
|
||||
"sha256": "70591f6df57ecd0df75c575b1ed5c176fd67574270521d1b10c5b4268e33370d",
|
||||
"default_categories": [
|
||||
"Communication"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"version": "6.3.9",
|
||||
"version": "6.4.1",
|
||||
"queries": {
|
||||
"exists": "SELECT 1 FROM programs WHERE name = 'Telegram Desktop' AND publisher = 'Telegram FZ-LLC';"
|
||||
},
|
||||
"installer_url": "https://td.telegram.org/tx64/tsetup-x64.6.3.9.exe",
|
||||
"installer_url": "https://td.telegram.org/tx64/tsetup-x64.6.4.1.exe",
|
||||
"install_script_ref": "0b88a95e",
|
||||
"uninstall_script_ref": "42311f1b",
|
||||
"sha256": "e72cd79681f30df7d4f1a65c3d4e9823a499c1dbb4c6baf6247c9f2bfbdf0ed2",
|
||||
"sha256": "10aa604fa20bde4ba0d740b21274899fa67d16faf99ae1ccd16c6d6ba2fed011",
|
||||
"default_categories": [
|
||||
"Communication"
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue