From c91ff3b5d41101a78dce493664be43e99dc934a2 Mon Sep 17 00:00:00 2001
From: dl35 <dl35@illinois.edu>
Date: Wed, 5 Mar 2025 20:28:05 -0600
Subject: [PATCH] Upload New File

---
 main.js | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 main.js

diff --git a/main.js b/main.js
new file mode 100644
index 0000000..c402920
--- /dev/null
+++ b/main.js
@@ -0,0 +1,26 @@
+const {app, BrowserWindow} = require('electron')
+const path = require('path')
+
+function createWindow() {
+    // create the browser window
+    const mainWindow = new BrowserWindow({
+        width: 1000,
+        height: 1000,
+        webPreferences: {
+            nodeIntegration: true,
+            contextIsolation:false,
+            preload: path.join(__dirname, 'preload.js')
+        }
+    })
+    mainWindow.loadFile('index.html')
+
+    mainWindow.webContents.openDevTools()
+}
+
+app.on('ready', () => {
+    createWindow();
+});
+
+// app.whenReady().then(() => {
+//     createWindow()
+// });
\ No newline at end of file
-- 
GitLab