create exe from nodejs project,
when i tried to build exe from nodejs project i was failed,= because of following problems
- pkg tool is outdated and no more works with latest javascript features,
- nexe not working
- bun was success but some library missing error raised when tried to build codex docs
what is new idea
i do not see any way to embedded subfolders and files to exe using bun,
i am not good at javascript environment but i had python pyinstaller related experience
so iam going to build exe generator using pyinstaller
- *download portable node runtime and save it to local folder
- download node js project and extract it to same folder
- write a small python file to run node js yarn command and pass this local nodejs /yarn binary path to environment variable,
- use pythons subprocess module to run those binaries and pass env variable to it
- download yarn binaries by this command
npm i -S yarn
what are problems
notes
- completed yarn starter library that can start a system command. that means it can start yarn command
roadmap
- create a proxy library for strating local