Sam Clegg

Results 1781 comments of Sam Clegg

That is the correct directory. If `include/SDL2` is missing it is likely because the SDL2 port was not yet installed. The port can be installed explicitly using `./embuilder build sdl2`...

> I don't know much about windows, but would we need to build this as part of the emsdk, ship it, etc.? How important are the issues solved by this?...

> > I think since its just a tiny .exe we could just check it into git once.. > > Isn't there windows-on-arm, so a single binary wouldn't work? True!...

> > 3. Works around several known issues with .bat files including one that is known unsolvable one (see emcc.bat for more details) > > FWIW PowerShell scripts I added...

> Perhaps worth looking at [py2exe](https://github.com/py2exe/py2exe) than rolling something own? I have looked at things like that over the years but the complexity always scared me off. It would also...

I asked Gemini CLI to help me write a better version. Its seems to have done it! I asked it to find any discrpencies between these two and it came...

> > Sadly I don't think the `.ps1` files can actually replace the `.bat` files because IIRC powershell is somehow optional in windows so its not guaranteed to always be...

> > IIRC there is some kind of "enable powershell" setting? Or "enable .ps1 script to lauch" setting? > > I'm not aware of one, no. The only issue is...

> > Clang, wasmopt and other executables would be subject to the same. > > Yes they are, that is a great point. SmartScreen operates in some kind of reputation...