Skip to content

Commit

Permalink
Fixed pixelated window icon on Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ransome1 committed Nov 26, 2023
1 parent 8be8d61 commit 84b01a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flatpak/com.github.ransome1.sleek.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<developer_name>Robin Ahle</developer_name>
<content_rating type="oars-1.1"/>
<releases>
<release version="2.0.3-rc.2" date="2023-11-23"/>
<release version="2.0.3-rc.2" date="2023-11-26"/>
</releases>
<url type="homepage">https://github.com/ransome1/sleek</url>
<url type="contact">https://github.com/ransome1/sleek/issues</url>
Expand Down
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const createWindow = async() => {
mainWindow = new BrowserWindow({
width: 1280,
height: 1000,
icon: getAssetPath('icons/512x512.png'),
icon: process.platform === 'win32' ? getAssetPath('icons/sleek.ico') : getAssetPath('icons/512x512.png'),
autoHideMenuBar: true,
webPreferences: {
spellcheck: false,
Expand Down

0 comments on commit 84b01a5

Please sign in to comment.