Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

feat: hides dock icon#487

Merged
OGPoyraz merged 2 commits intomainfrom
feat/480-removed-app-icon-from-the-dock-when-the-window-is-closed
Feb 6, 2023
Merged

feat: hides dock icon#487
OGPoyraz merged 2 commits intomainfrom
feat/480-removed-app-icon-from-the-dock-when-the-window-is-closed

Conversation

@OGPoyraz
Copy link
Copy Markdown
Member

@OGPoyraz OGPoyraz commented Feb 2, 2023

Overview

This PR aims to hide dock icon on app start.

@OGPoyraz OGPoyraz requested a review from a team February 2, 2023 15:57
@OGPoyraz OGPoyraz linked an issue Feb 2, 2023 that may be closed by this pull request
@OGPoyraz OGPoyraz force-pushed the feat/480-removed-app-icon-from-the-dock-when-the-window-is-closed branch 3 times, most recently from c2d14f9 to 2d6af2e Compare February 3, 2023 08:46

// Hides the dock icon
if (process.platform === 'darwin') {
app.dock.hide();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I may have misunderstood but I thought the goal was to hide it from the dock only when the app was minimised to the system tray? Having a window in OS X without a dock icon seems unusual to me at least.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There are definitely use cases that exactly work like this, but it could be my misunderstanding if pick up this way. Lets discuss on dsm

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks for raising it, fixed now

@OGPoyraz OGPoyraz force-pushed the feat/480-removed-app-icon-from-the-dock-when-the-window-is-closed branch 4 times, most recently from 1eafdc9 to a0c16d4 Compare February 6, 2023 09:27
@OGPoyraz OGPoyraz force-pushed the feat/480-removed-app-icon-from-the-dock-when-the-window-is-closed branch from a0c16d4 to 18fab02 Compare February 6, 2023 09:41
@OGPoyraz OGPoyraz merged commit f6a8af9 into main Feb 6, 2023
@cryptotavares cryptotavares mentioned this pull request Mar 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Removed app icon from the dock when the window is closed

3 participants