Skip to content

Commit

Permalink
set icon aplikasi di build linux
Browse files Browse the repository at this point in the history
  • Loading branch information
salmanrameli committed Jul 20, 2020
1 parent 3461970 commit ecbcc7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file added assets/icon_1024x1024x32.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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"category": "public.app-category.utilities"
},
"linux": {
"icon": "assets/icon.icns",
"icon": "assets/icon_1024x1024x32.png",
"executableName": "Pi-Hole",
"target": [
"deb", "AppImage"
Expand Down
3 changes: 2 additions & 1 deletion public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ function createWindow () {
// Create the browser window.
mainWindow = new BrowserWindow({
width: 1200,
height: 800,
height: 800,
icon: path.join(__dirname, '../assets/icon_1024x1024x32.png'),
webPreferences: {
nodeIntegration: false,
preload: path.resolve(`${__dirname}/renderer.js`),
Expand Down

0 comments on commit ecbcc7e

Please sign in to comment.