To download the latest application version, please visit the official GitHub repository. Or you can download it right here if you want.
Requirements to edit and use the source code:
Setup Instructions:
index.html
file from the public
directory and start the server.Replace the existing main.js
code with the following to set up a server using Express:
const express = require('express');
const app = express();
const port = 3000;
app.use(express.static('public'));
app.listen(port, () => {
console.log(`Super ELedlow Bros. running at http://localhost:${port}`);
});
Update the main.js
file in the main directory with:
const { app, BrowserWindow } = require('electron');
function createWindow() {
const win = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true,
}
});
win.loadFile('index.html'); // Pointing to the game's entry file 'index.html'
}
app.whenReady().then(createWindow);
For those interested in using Electron Forge, here’s a basic setup:
// Please refer to the Electron Forge documentation for detailed setup instructions as I mess up... a lot.
ChangeLog for v7.5.2: