Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add window icon #1500

Closed
wants to merge 1 commit into from
Closed

feat: add window icon #1500

wants to merge 1 commit into from

Conversation

laur89
Copy link

@laur89 laur89 commented Dec 25, 2023

Pre-flight Checklist

Please ensure you've completed all of the following.

Description of Change

Adds a window icon.

Motivation and Context

Makes it easier to visually identify the Ferdium window in a tiling wm.

Checklist

  • My pull request is properly named
  • The changes respect the code style of the project (pnpm prepare-code)
  • pnpm test passes
  • I tested/previewed my changes locally

Release Notes

@laur89 laur89 requested a review from a team as a code owner December 25, 2023 17:42
@@ -219,6 +219,7 @@ const createWindow = () => {
titleBarStyle: isMac ? 'hidden' : 'default',
frame: isLinux,
backgroundColor,
icon: join(__dirname, 'build-helpers/images/icons/16x16.png'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you provide a screenshot showing the difference between with icon and without?

According to the electron documentation it supposedly is optional: "On Windows it is recommended to use ICO icons to get best visual effects, you can also leave it undefined so the executable's icon will be used."

See https://www.electronjs.org/docs/latest/api/browser-window#new-browserwindowoptions > "icon"

@vraravam
Copy link
Contributor

@laur89 - would you be able to answer the question posed in the review comment? Or can we close this PR as abandoned?

@vraravam vraravam added the question ❓ Further information is requested label Feb 10, 2024
@vraravam
Copy link
Contributor

Closing as abandoned

@vraravam vraravam closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants