Skip to content

fix(linux): restore app icon on Wayland - #732

Merged
capy-ai[bot] merged 1 commit into
devfrom
capy/fix-linux-wayland-app-icon
Aug 10, 2026
Merged

fix(linux): restore app icon on Wayland#732
capy-ai[bot] merged 1 commit into
devfrom
capy/fix-linux-wayland-app-icon

Conversation

@zortos293

Copy link
Copy Markdown
Collaborator

Fixes #707.

Electron's Linux window identity did not match an installed desktop entry, so KDE/Wayland could not associate the AppImage window with OpenNOW and displayed the generic Wayland icon.

  • define a stable reverse-DNS desktopName and synchronize the generated desktop filename and StartupWMClass
  • bundle the OpenNOW logo as a runtime resource and set it explicitly on Linux windows, including direct AppImage launches without desktop integration

Verification:

  • npm run typecheck
  • npx oxlint src/main/window/mainWindow.ts
  • npm run build
  • npm test (449 passed)
  • packaged and extracted the Linux AppImage; verified com.zortos.opennow.stable.desktop, matching StartupWMClass, and bundled resources/app-icon.png
  • launched the packaged Linux app and verified its runtime WM class is com.zortos.opennow.stable

@cursor

cursor Bot commented Aug 10, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 39614b6e-de08-49b6-9364-d3f8c3d8cd6c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@capy-ai
capy-ai Bot force-pushed the capy/fix-linux-wayland-app-icon branch from a63c44d to 44b789f Compare August 10, 2026 18:55
@capy-ai
capy-ai Bot merged commit 213189c into dev Aug 10, 2026
17 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