|
|
@ -3,6 +3,7 @@ const { app, BrowserWindow } = require('electron') |
|
|
|
|
|
|
|
const path = require('path') |
|
|
|
const main = require(path.join(__dirname, "lib/main.js")) |
|
|
|
const mhttp = require(path.join(__dirname, "lib/http.js")) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -15,6 +16,13 @@ app.whenReady().then(function () { |
|
|
|
main.createMainWindow() |
|
|
|
|
|
|
|
const tray = require(path.join(__dirname, "lib/tray.js")) |
|
|
|
|
|
|
|
if (app.dock) { |
|
|
|
|
|
|
|
app.dock.hide(); |
|
|
|
} |
|
|
|
|
|
|
|
mhttp.start(); |
|
|
|
// tray.createTrayWindow()
|
|
|
|
}) |
|
|
|
|
|
|
|