I just put a console.log in the renderer.ts file, and nothing gets logged, from what I understood, it's supposed to get called by public/index.html. I ran it with npm run dev and npm run dev:electron in the electron window
I also tried to call process.exit(0); , didn't do anything.
The preload script gets called. Didn't touched any files Im not "supposed"to.
Running tsnode + debug and starting dev mode for TS.
Erasing files would be done within node, since windows would ned to run del -f/del /f instead
Actual Behavior
script run uses rm as way to delete rollup and dist previous files.
But an error saying rm is not a command will be thrown (powershell uses rm as alias for del, but even running everything from Powershell 7 doesn't make this error go away)
I'm currently trying to use the process variable to get the user's user path; process.env[process.platform === 'win32' ? 'USERPROFILE' : 'HOME'] but I keep getting a reference error. this should allow for better use cases like saving local data for a user in json or SQLite database.