Great big ESLint
This commit is contained in:
parent
051eabbdc3
commit
ebcb938da1
48 changed files with 3890 additions and 2536 deletions
|
|
@ -1,27 +1,27 @@
|
|||
const electron = require('electron')
|
||||
const contextMenu = require('electron-context-menu')
|
||||
const path = require('path')
|
||||
const electron = require("electron");
|
||||
const contextMenu = require("electron-context-menu");
|
||||
const path = require("path");
|
||||
|
||||
const app = electron.app
|
||||
const BrowserWindow = electron.BrowserWindow
|
||||
const app = electron.app;
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
|
||||
let url = 'http://localhost:8080/'
|
||||
let url = "http://localhost:8080/";
|
||||
|
||||
// Set the application menu
|
||||
require('./menu.js')
|
||||
require("./menu.js");
|
||||
|
||||
app.on('ready', () => {
|
||||
app.on("ready", () => {
|
||||
let window = new BrowserWindow({
|
||||
width: 1124,
|
||||
width: 1124,
|
||||
height: 800,
|
||||
icon: path.join(__dirname, '/icons/png/64x64.png')
|
||||
})
|
||||
icon: path.join(__dirname, "/icons/png/64x64.png")
|
||||
});
|
||||
|
||||
contextMenu({
|
||||
showCopyImageAddress: true,
|
||||
showSaveImageAs: true,
|
||||
showInspectElement: true,
|
||||
showInspectElement: true
|
||||
});
|
||||
|
||||
window.loadURL(url)
|
||||
})
|
||||
window.loadURL(url);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue