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

fix: add app icon on dev mode#572

Merged
OGPoyraz merged 4 commits intomainfrom
fix/567-add-app-icon-even-when-running-in-dev-mode
Mar 7, 2023
Merged

fix: add app icon on dev mode#572
OGPoyraz merged 4 commits intomainfrom
fix/567-add-app-icon-even-when-running-in-dev-mode

Conversation

@OGPoyraz
Copy link
Copy Markdown
Member

@OGPoyraz OGPoyraz commented Mar 2, 2023

Overview

Test

@OGPoyraz OGPoyraz requested a review from a team March 2, 2023 10:13
@OGPoyraz OGPoyraz linked an issue Mar 2, 2023 that may be closed by this pull request
@OGPoyraz OGPoyraz changed the title fix: add app icon in dev mode Test Mar 2, 2023
@OGPoyraz OGPoyraz force-pushed the fix/567-add-app-icon-even-when-running-in-dev-mode branch 2 times, most recently from 830875e to b1dd625 Compare March 2, 2023 16:09
@OGPoyraz OGPoyraz changed the title Test fix: add app icon on dev mode Mar 2, 2023

if (!app.isPackaged) {
const image = nativeImage.createFromPath(
path.resolve(__dirname, '../icons/icon.png'),
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.

Rather than duplicate the icon, could we instead update build.sh to copy the icon from packages/app/build into dist/app and reference it there?

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.

Make sense, fixed.

@OGPoyraz OGPoyraz force-pushed the fix/567-add-app-icon-even-when-running-in-dev-mode branch from 32016f7 to 90b51b1 Compare March 6, 2023 19:10
@OGPoyraz OGPoyraz force-pushed the fix/567-add-app-icon-even-when-running-in-dev-mode branch from 90b51b1 to 3a3d24d Compare March 6, 2023 19:10
@OGPoyraz OGPoyraz merged commit b0b4a2c into main Mar 7, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 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.

Add app icon even when running in dev mode

2 participants