Skip to content

fix: Windows tray icon, PowerShell focus steal, publisher name - #30

Merged
AxaySharma merged 2 commits into
mainfrom
develop
Jul 12, 2026
Merged

AxaySharma merged 2 commits into
mainfrom
develop

Conversation

@AxaySharma

Copy link
Copy Markdown
Contributor

No description provided.

Fix 1: PowerShell focus stealing
- Added -WindowStyle Hidden to spawn args
- PowerShell now runs invisibly, never steals focus
- Added sanity check: skip result if process is
  powershell/pwsh/powershell_ise

Fix 2: Blank tray icon on Windows
- Platform-aware getTrayIcon() function in tray.ts
- Windows: load icon.png + resize to 16x16 for tray
- Falls back to icon.ico, then emerald data URI
- Mac/Linux: existing icon.png unchanged
- Added resources/ICONS_TODO.md for future .ico steps

Fix 3: Publisher name in Windows installer
- win.publisherName: 'Wrkmark'
- win.legalTrademarks: 'Wrkmark'
- nsis.shortcutName: 'Wrkmark'
- nsis.uninstallDisplayName: 'Wrkmark'

pnpm typecheck: zero errors
pnpm build: successful
grep WindowStyle: confirmed in window-tracker.ts
Version: unchanged (0.1.0)
fix: Windows tray icon, PowerShell focus steal, publisher name
@AxaySharma
AxaySharma merged commit 9e84a64 into main Jul 12, 2026
4 checks passed
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