https://web.archive.org/web/20100304155706/http://www.thepro...
https://en.wikipedia.org/wiki/The_Legend_of_Zelda_(video_gam...
Double that for the sequel.
You could distribute it as `.html` only, and use JS to offer a local download link to itself in the correct extension. A polyglot installer, of sorts.
For example, this gist is an HTML that, when opened, offers a download zip of its DOM in whatever state it currently is:
https://gist.github.com/alganet/c904acb57282402fc0bd724f1eeb...
I think you can use something similar to get the entire page contents as a blob, but I never tested with binary data in actual browsers. Perhaps even patch it to avoid the initial windows error.
The ability to load .html files over the file:// protocol is a powerful, often neglected feature. In practice, it means you can double-click an HTML file and it runs an app in your browser instantly.
zamadatix•2h ago
- Browser: works after renaming to .html
- Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session).
- Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make this one work, it's definitely not AV related though (I have that stripped in this sandbox VM).
Edit: Got it working in all 3 now. On Windows I still had DEP enabled on all programs to test some apps earlier, turning that back off allowed it to launch.
deklesen•1h ago
zamadatix•1h ago
If you mean the .html rename or whatever my Windows problem was, I must be missing it. Edit: Windows was DEP.
GlumWoodpecker•1h ago
seba_dos1•1h ago
That's because of the binfmt handler that Mono installs which matches the PE header.
w4yai•1h ago
zamadatix•1h ago
Edit: Got it working, was DEP.