Skip to content

Commit

Permalink
icon hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
duzda committed Mar 29, 2022
1 parent ede397b commit 5b21175
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/window/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Window extends BrowserWindow {
constructor(app, parent) {
let params = {
title: 'Deezer Enhanced',
icon: path.join(__dirname, '..', 'assets', 'icon.png'),
icon: path.join(process.resourcesPath, 'assets', 'icon.png'),
webPreferences: {
nodeIntegration: true,
nativeWindowOpen: true,
Expand All @@ -16,7 +16,7 @@ class Window extends BrowserWindow {
preload: path.join(__dirname, '..', 'injections', 'login_injection.js')
},
backgroundColor: '#2e2c29',
show: false
show: true
};
super(params);
this.windowBounds = new WindowBounds(this);
Expand All @@ -26,7 +26,6 @@ class Window extends BrowserWindow {
this.windowSettings = new WindowSettings(this, this.settings, this.parent.tray, this.webContents);
this.setMenuBarVisibility(false);
this.loadFile(path.join(__dirname, '..', 'utils', 'loadscreen.html'));
this.show();

this.createEvents();
}
Expand Down

0 comments on commit 5b21175

Please sign in to comment.