Skip to content

Commit b844e44

Browse files
committed
icon fixes
1 parent 31cdc54 commit b844e44

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

assets/icon/icon.ico

203 KB
Binary file not shown.

assets/icon/icon.png

17.4 KB
Loading

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<script src="libs/js/jquery/jquery-1.7.min.js"></script>
88
<link rel="stylesheet" type="text/css" href="libs/js/clippy/build/clippy.css" media="all">
99
<script src="libs/js/clippy/build/clippy.min.js"></script>
10+
<link rel="icon" href="assets/icon/icon.png" type="image/png">
1011
</head>
1112
<body>
1213
<button id="close-btn" class="close"></button>

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function modalWindowCreate(text = "") {
4343
title: 'Clippy',
4444
frame: false,
4545
transparent: true,
46-
icon: __dirname + '/assets/icon/icon.ico',
46+
icon: __dirname + '/assets/icon/icon.png'
4747
});
4848

4949
modalWindow.loadURL('data:text/html;charset=utf-8,' + encodeURIComponent(`
@@ -97,7 +97,7 @@ function mainWindowCreate() {
9797
},
9898
transparent: true,
9999
frame: false,
100-
icon: __dirname + '/assets/icon/icon.ico'
100+
icon: __dirname + '/assets/icon/icon.png'
101101
});
102102

103103
/*** * * ***/

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"test": "electron .",
88
"start": "electron .",
9-
"compile_win": "electron-builder --win",
10-
"compile_win2": "electron-builder --win portable",
11-
"compile_linux": "electron-packager . --platform=linux --ignore=/dist --icon=resources/app/build/icon.ico"
9+
"build_win": "electron-builder --win",
10+
"build_win_portable": "electron-builder --win portable",
11+
"build_linux": "electron-packager . --platform=linux --ignore=/dist --icon=build/icon.ico"
1212
},
1313
"author": "Rantouan Achmet",
1414
"license": "GPL-3.0",

0 commit comments

Comments
 (0)