CHECK NEW MESSAGE FOR UPDATED ERROR
Just like the best coding things--I have no idea what's happening here.
My code has worked in the past with previous releases of my app and now it just doesn't. I really don't know.
Basically, when starting my electron app in VS Code, everything works perfectly but when I build it with electron-forge and run the setup.exe the app starts but the button I have that normally calls a child process just doesn't seem to be working.
I don't know exactly what code I would post so here's my Github: https://github.com/spjoes/WardenMC
The button is in play.html that should call "loadGame()" which should send the "startGame" message using ipcRenderer.send to main.js to run the game by starting the childProcess "run_account.js" in the WardenNew folder
My setup:
Windows 11 (tested on Windows 10 as well)
Updated to Electron v22 (was on 19*)
Updated to Electron-Forge 6.0.4 (was on 6-beta*)
* means that my code was on that version for previous releases and it worked then but on this release it started not working so I tried updating. Hopefully that makes sense
Thanks in advance!