mirror of https://github.com/keeweb/keeweb
Added check for platform before calling app.dock
parent
99b687244c
commit
fadea36232
|
@ -609,7 +609,7 @@ function deleteRecursive(dir) {
|
|||
}
|
||||
|
||||
function setDevAppIcon() {
|
||||
if (isDev && htmlPath) {
|
||||
if (isDev && htmlPath && process.platform === 'darwin') {
|
||||
const icon = electron.nativeImage.createFromPath(
|
||||
path.join(__dirname, '../graphics/512x512.png')
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue