aboutsummaryrefslogtreecommitdiff
path: root/electron/index.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-02-23 16:28:07 +0000
committerAndrew Lee <alee14498@protonmail.com>2021-02-23 16:28:07 +0000
commitba56fe862d3631c9b58999fb18f61f291c7f9460 (patch)
tree2aa54a6c9ca877961c59bc96de3c56d96ef10899 /electron/index.js
parent50ff551ac2f988e3949b097eeda34247f60e5e4c (diff)
downloadlawrence-hill-ba56fe862d3631c9b58999fb18f61f291c7f9460.tar.gz
lawrence-hill-ba56fe862d3631c9b58999fb18f61f291c7f9460.tar.bz2
lawrence-hill-ba56fe862d3631c9b58999fb18f61f291c7f9460.zip
removed electron
Diffstat (limited to 'electron/index.js')
-rw-r--r--electron/index.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/electron/index.js b/electron/index.js
deleted file mode 100644
index b558247..0000000
--- a/electron/index.js
+++ /dev/null
@@ -1,27 +0,0 @@
-const { app, BrowserWindow } = require('electron')
-
-function createWindow () {
- const win = new BrowserWindow({
- width: 800,
- height: 600,
- webPreferences: {
- nodeIntegration: true
- }
- })
-
- win.loadFile('src/index.html')
-}
-
-app.whenReady().then(createWindow)
-
-app.on('window-all-closed', () => {
- if (process.platform !== 'darwin') {
- app.quit()
- }
-})
-
-app.on('activate', () => {
- if (BrowserWindow.getAllWindows().length === 0) {
- createWindow()
- }
-}) \ No newline at end of file