Commit 43d563d1 authored by dev0tion's avatar dev0tion

Fix icon on Ubuntu

parent dcc7fe62
......@@ -28,7 +28,14 @@ let mainWindow = null;
function createWindow() {
// Create the browser window.
mainWindow = new BrowserWindow({width: 1200, height: 700, frame: true, minWidth: 1200, minHeight: 700, icon: "./assets/images/stratis-tray.png"});
mainWindow = new BrowserWindow({
width: 1200,
height: 700,
frame: true,
minWidth: 1200,
minHeight: 700,
icon: __dirname + "/assets/images/stratis128x128.png"
});
// and load the index.html of the app.
mainWindow.loadURL(url.format({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment