@ -14,7 +14,6 @@ exports.createMainWindow = function () {
preload: path.join(__dirname, 'web/main.js')
}
})
// and load the index.html of the app.
exports.MainWindow.loadURL('http://oa.ouxuan.net/?d=we&m=login')
@ -15,6 +15,13 @@ app.whenReady().then(function () {
main.createMainWindow()
const tray = require(path.join(__dirname, "lib/tray.js"))
if( app.dock){
app.dock.hide();
// tray.createTrayWindow()