Skip to content

Commit

Permalink
Initial working version with OpenGenus page, no back/forward navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Arpish00 committed Oct 19, 2024
0 parents commit abb3671
Show file tree
Hide file tree
Showing 5 changed files with 916 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Empty file added index.html
Empty file.
25 changes: 25 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const { app, BrowserWindow } = require('electron');

function createWindow() {
// Create the browser window
const win = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true,
},
});

// Load OpenGenus IQ website
win.loadURL('https://iq.opengenus.org/');
}

// Called when Electron has finished initialization
app.whenReady().then(createWindow);

// Quit when all windows are closed
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit();
}
});
Loading

0 comments on commit abb3671

Please sign in to comment.