News for hackers. Stuff that matters.
Re:DOjS – A DOS JavaScript Canvas with Sound by SuperIlu on Monday September 02, 2024 @01:25PM (#41427202)
No, sadly you can't. But there is a packaging mechanism where you can put all scripts and assets into a ZIP file and you only need to ship the DOJS.EXE and the ZIP.

You can also (sort of) rename the EXE...

Re:DOjS – A DOS JavaScript Canvas with Sound by zozbot234 on Monday September 02, 2024 @05:42PM (#41429029)
You should be able to use COPY /B DOJS.EXE + PACKAGE.ZIP DOJSPACK.EXE to end up with a single .EXE file that still contains the packaged data when read as a ZIP file. The .ZIP format is specifically designed so that this will work.
Re:DOjS – A DOS JavaScript Canvas with Sound by SuperIlu on Monday September 02, 2024 @05:51PM (#41429086)
well, the format maybe, but I have to check if my ZIP library supports that, too...