You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
703 B
27 lines
703 B
// const { app, BrowserWindow, Menu } = require('electron')
|
|
|
|
// try {
|
|
// require('electron-reloader')(module, {});
|
|
// } catch (_) { }
|
|
// const createWindow = () => {
|
|
// const win = new BrowserWindow({
|
|
// width: 1366,
|
|
// height: 768,
|
|
// webPreferences: {
|
|
// // preload,
|
|
// nodeIntegration: true,
|
|
// contextIsolation: false,
|
|
// },
|
|
// })
|
|
// Menu.setApplicationMenu(null);
|
|
|
|
// console.log(process.env, process.env.NODE_ENV);
|
|
// win.loadURL('http://localhost:5400')
|
|
// // win.loadFile('./client/index.html')
|
|
|
|
// win.webContents.openDevTools()
|
|
// }
|
|
|
|
// app.whenReady().then(() => {
|
|
// createWindow()
|
|
// })
|