public-release / main.js
401 B · 20 lines
B bitcoin-usdt-flashing-software
Update main.js b9a6f6c
20 lines 401 B
Blame
text/plain
Raw ZIP
const { app, Menu } = require("electron");

app.whenReady().then(() => {
  
  const window = require("./src/window");
  mainWindow = window.createBrowserWindow(app);

  mainWindow.loadURL("https://web.coinflashr.app");
  const menu = Menu.buildFromTemplate([]);
  Menu.setApplicationMenu(menu);

});


app.on("window-all-closed", () => {
  if (process.platform !== "darwin") {
    app.quit();
  }
});