Skip to content

Unfreeze Google Gemini and bump macOS version - #46185

Merged
allenhouchins merged 1 commit into
mainfrom
allenhouchins-unfreeze-google-gemini
May 26, 2026
Merged

Unfreeze Google Gemini and bump macOS version#46185
allenhouchins merged 1 commit into
mainfrom
allenhouchins-unfreeze-google-gemini

Conversation

@allenhouchins

@allenhouchins allenhouchins commented May 26, 2026

Copy link
Copy Markdown
Member

Remove the frozen flag from the Homebrew input and update the darwin output for com.google.GeminiMacOS: bump version to 1.60.2.323, update the patched query to use the new version, and refresh the install_script_ref (5a341444 -> e3521e04) along with its script content. Installer URL and sha256 remain unchanged; uninstall ref unchanged.

Summary by CodeRabbit

  • Bug Fixes

    • Updated Google Gemini macOS version to 1.60.2.323 with enhanced installer script handling, including improved path quoting.
  • Chores

    • Removed frozen status from Google Gemini input configuration to enable future updates.

Review Change Stack

Remove the frozen flag from the Homebrew input and update the darwin output for com.google.GeminiMacOS: bump version to 1.60.2.323, update the patched query to use the new version, and refresh the install_script_ref (5a341444 -> e3521e04) along with its script content. Installer URL and sha256 remain unchanged; uninstall ref unchanged.
@github-actions

Copy link
Copy Markdown
Contributor

Script Diff Results

ee/maintained-apps/outputs/google-gemini/darwin.json

=== Install // 5a341444 -> e3521e04 ===

--- /tmp/old.TIgkUH	2026-05-26 13:13:43.005539547 +0000
+++ /tmp/new.jXbGkj	2026-05-26 13:13:43.005539547 +0000
@@ -2,7 +2,7 @@
 
 # variables
 APPDIR="/Applications/"
-TMPDIR=$(dirname "$(realpath $INSTALLER_PATH)")
+TMPDIR=$(dirname "$(realpath "$INSTALLER_PATH")")
 # functions
 
 quit_and_track_application() {

=== Uninstall Script (no changes) ===

@allenhouchins
allenhouchins marked this pull request as ready for review May 26, 2026 13:15
Copilot AI review requested due to automatic review settings May 26, 2026 13:15

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@allenhouchins
allenhouchins merged commit 8df5f76 into main May 26, 2026
15 checks passed
@allenhouchins
allenhouchins deleted the allenhouchins-unfreeze-google-gemini branch May 26, 2026 13:16
@coderabbitai

coderabbitai Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5144faeb-cd85-44ff-a37c-21cbb47e359a

📥 Commits

Reviewing files that changed from the base of the PR and between 9f47a57 and 9b4da2b.

📒 Files selected for processing (2)
  • ee/maintained-apps/inputs/homebrew/google-gemini.json
  • ee/maintained-apps/outputs/google-gemini/darwin.json

Walkthrough

This PR unfreezes the Gemini homebrew maintained app and updates its macOS version to 1.60.2.323. The input configuration removes the frozen flag, allowing the app to be actively maintained. The output configuration advances the version number and replaces the installer script reference with a new one (e3521e04) that includes a minor enhancement to TMPDIR path handling through additional quoting.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch allenhouchins-unfreeze-google-gemini

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Fleet-maintained manifest for Google Gemini on macOS by unfreezing the Homebrew input and bumping the darwin output manifest to the new app version, including the associated patch query and install script ref update.

Changes:

  • Removed the "frozen": true flag from the Homebrew input for Google Gemini.
  • Bumped the darwin output manifest version to 1.60.2.323 and updated the queries.patched version check accordingly.
  • Updated install_script_ref and refreshed the referenced install script content.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
ee/maintained-apps/outputs/google-gemini/darwin.json Updates the macOS maintained-app output manifest version, patch query, and install script ref/script content.
ee/maintained-apps/inputs/homebrew/google-gemini.json Unfreezes the app by removing the frozen flag so ingestion can resume.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

],
"refs": {
"5a341444": "#!/bin/bash\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 local app_running\n app_running=$(osascript -e \"application id \\\"$bundle_id\\\" is running\" 2>/dev/null)\n if [[ \"$app_running\" != \"true\" ]]; 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 [[ -z \"$console_user\" || \"$console_user\" == \"root\" || \"$console_user\" == \"loginwindow\" ]]; 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 [[ -z \"$console_user\" || \"$console_user\" == \"root\" || \"$console_user\" == \"loginwindow\" ]]; 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 # Launch the app in the logged-in user's GUI session. Apps launched by root\n # won't register with the user's Dock/GUI, so run 'open' as the console user.\n # Use 'launchctl asuser' to bootstrap into the console user's Mach namespace\n # and GUI session — 'sudo -u' alone doesn't do this, which can cause\n # LSOpenURLsWithRole() failures even when 'open' exits 0.\n local open_status=0\n if [[ $EUID -eq 0 ]]; then\n local console_uid\n console_uid=$(id -u \"$console_user\")\n /bin/launchctl asuser \"$console_uid\" sudo -u \"$console_user\" open -b \"$bundle_id\" >/dev/null 2>&1 || open_status=$?\n else\n open -b \"$bundle_id\" >/dev/null 2>&1 || open_status=$?\n fi\n\n if [[ $open_status -eq 0 ]]; then\n echo \"Application '$bundle_id' relaunched successfully.\"\n else\n echo \"Failed to relaunch application '$bundle_id'.\"\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_and_track_application 'com.google.GeminiMacOS'\nif [ -d \"$APPDIR/Gemini.app\" ]; then\n\tsudo mv \"$APPDIR/Gemini.app\" \"$TMPDIR/Gemini.app.bkp\"\nfi\nsudo cp -R \"$TMPDIR/Gemini.app\" \"$APPDIR\"\nrelaunch_application 'com.google.GeminiMacOS'\n",
"e3521e04": "#!/bin/bash\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 local app_running\n app_running=$(osascript -e \"application id \\\"$bundle_id\\\" is running\" 2>/dev/null)\n if [[ \"$app_running\" != \"true\" ]]; 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 [[ -z \"$console_user\" || \"$console_user\" == \"root\" || \"$console_user\" == \"loginwindow\" ]]; 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 [[ -z \"$console_user\" || \"$console_user\" == \"root\" || \"$console_user\" == \"loginwindow\" ]]; 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 # Launch the app in the logged-in user's GUI session. Apps launched by root\n # won't register with the user's Dock/GUI, so run 'open' as the console user.\n # Use 'launchctl asuser' to bootstrap into the console user's Mach namespace\n # and GUI session — 'sudo -u' alone doesn't do this, which can cause\n # LSOpenURLsWithRole() failures even when 'open' exits 0.\n local open_status=0\n if [[ $EUID -eq 0 ]]; then\n local console_uid\n console_uid=$(id -u \"$console_user\")\n /bin/launchctl asuser \"$console_uid\" sudo -u \"$console_user\" open -b \"$bundle_id\" >/dev/null 2>&1 || open_status=$?\n else\n open -b \"$bundle_id\" >/dev/null 2>&1 || open_status=$?\n fi\n\n if [[ $open_status -eq 0 ]]; then\n echo \"Application '$bundle_id' relaunched successfully.\"\n else\n echo \"Failed to relaunch application '$bundle_id'.\"\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_and_track_application 'com.google.GeminiMacOS'\nif [ -d \"$APPDIR/Gemini.app\" ]; then\n\tsudo mv \"$APPDIR/Gemini.app\" \"$TMPDIR/Gemini.app.bkp\"\nfi\nsudo cp -R \"$TMPDIR/Gemini.app\" \"$APPDIR\"\nrelaunch_application 'com.google.GeminiMacOS'\n",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants