Glowstik's Idea go subscribe to him!
npx electron-packager `${file location}` phys-ed --win32 --electron-version=17.1.1 --overwrite
Or.. You could also use the already packaged thing, this is just for people who want to update the game.
const { app, BrowserWindow } = require("electron");
const url = require("url");
function newApp() {
mainWindow = new BrowserWindow({
width: 1920,
height: 1080,
icon: __dirname + './addatives/physed-logo.png',
fullscreen: true
});
mainWindow.loadURL(`file://${__dirname}/index.html`);
}
app.on("ready", newApp);
____________________________________________________________________
/ \
| HOW TO USE |
| |
| Put code or scripts you find inside the "mod" statements |
| To do this you can paste the code inside the if statements |
| and set the specific mod slot to "1" |
| Please be sure to IF copying code from online, e.g. github |
| make sure to read the code |
| |
| For making mods: |
| |
| Edit the MOD NAME & MOD DESCRIPTION to your Mod's name and desc- |
| ription. Please do not create mods that will jack anothers game. |
| All mods can have their own license, meaning some you can edit, s- |
| ome you cannot, please be sure to abide the the selected mod's |
| license before modifying or "skidding". |
| |
| Have fun! |
\________________________________________________________________________/
_____________________________________________________________________
/ \
| HOW TO USE |
| |
| For better fps: |
| |
| lagSwitch = true; (better fps) |
| qualitySwitch = true; (better fps) |
| arcadeSwitch = false; (better fps) |
| arcadeMax = false; (better fps) |
| |
| For better quality: |
| |
| lagSwitch = false; (worse fps but smoother experience) |
| qualitySwitch = false; (worse fps but better quality) |
| arcadeSwitch = true; (worse fps, and for the arcade enthusiasts) |
| arcadeMax = true; (worse fps, and for the arcade enthusiasts) |
| |
| |
| or make your own configs! |
\_________________________________________________________________________/