Add icon hotfix

This commit is contained in:
zweicoder 2016-01-23 15:37:45 +08:00
parent 01ae53c590
commit f0d1adb6b0
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
plugins: true,
nodeIntegration: false,
preload: path.join(__dirname, 'static', 'preload.js')
}
},
icon: options.icon || path.join(__dirname,'/icon.png') // hardcoded by default until you decide how to pass in an icon
}
);