Skip to content

Commit

Permalink
fix: linux icon issue
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Mar 26, 2020
1 parent eca174f commit 29652ab
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ files:
- app.js
- preload.js
- header_logo.svg
- icon.png
- icon.icns
- build/icon.*
- icon.*
- icons/*
directories:
buildResources: build
buildResources: ./
output: release
publish:
-
Expand Down
Binary file added icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { app, BrowserWindow, ipcMain } = require('electron');

const singleInstanceLock = app.requestSingleInstanceLock();

if (!singleInstanceLock) {
Expand Down Expand Up @@ -28,6 +27,7 @@ function createMainWindow() {
},
frame: false,
show: false, // hidden the windown before loaded
icon: __dirname + '/icons/32x32.png',
});
// open dev tool default
if (process.env.DEBUG == 1) {
Expand Down

0 comments on commit 29652ab

Please sign in to comment.