Skip to content

Enhancements#404

Merged
shobhit99 merged 3 commits into
mainfrom
enhancements
May 16, 2026
Merged

Enhancements#404
shobhit99 merged 3 commits into
mainfrom
enhancements

Conversation

@shobhit99
Copy link
Copy Markdown
Contributor

No description provided.

@shobhit99 shobhit99 merged commit 56f5a59 into main May 16, 2026
1 check passed
@shobhit99 shobhit99 deleted the enhancements branch May 16, 2026 20:41
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 85b1508a98

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
]
}
],
"target": "dmg",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore mac ZIP target for updater compatibility

Setting build.mac.target to only "dmg" removes the ZIP artifact that macOS auto-update flows depend on; this repo initializes electron-updater in src/main/main.ts (e.g. autoUpdater.checkForUpdates()), so packaged builds can advertise updates but fail to fetch/install them when only DMG assets are published. Keep a ZIP target (or default) alongside DMG for release builds.

Useful? React with 👍 / 👎.

Comment thread src/main/main.ts
Comment on lines +3048 to +3051
require('child_process').execFileSync(
'/usr/bin/osascript',
['-e', 'tell application "System Events" to tell process "Dock" to get {position, size} of list 1'],
{ encoding: 'utf8', timeout: 400 }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid blocking main thread in dock-frame lookup

readMacDockFrame() uses synchronous execFileSync to run AppleScript, and this function is now on the window-management hotkey path via normalizeWindowManagementDisplayWorkArea(...) (used in fine-tune/layout command execution). On macOS systems where osascript is slow or times out, each resize command can stall the Electron main process for up to the configured timeout, causing visible lag/freeze while arranging windows.

Useful? React with 👍 / 👎.

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.

1 participant