-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
- link script to invoke cscript.exe (sdl2-config.bat, text/plain, 2020-01-18 01:06:44 +0000, 112 bytes)
- a javascript which imitates it's bash namesake (sdl2-config.script, text/javascript, 2020-01-18 01:08:23 +0000, 1978 bytes)
Reported in version: don't know
Reported for operating system, platform: Windows (All), All
Comments on the original bug report:
On 2020-01-18 01:03:50 +0000, Michael J. Walsh wrote:
I'd like to propose that in the Windows version of SDL, sdl2-config should be written in natively supported script system, like a batch file or Windows Script Host script.
I appreciate bash can work on Windows in wsl, cygwin, msys2 and probably others, but it's still not universally available.
On 2020-01-18 01:06:44 +0000, Michael J. Walsh wrote:
Created attachment 4169
link script to invoke cscript.exeI'm attaching two documents:
sdl2-config.bat - a link script to invoke cscript.exe, and
sdl2-config.script - a javascript which imitates it's bash namesake. The only difference is that it assumes the prefix is the script's parent folder so if the script is in:
C:\Users\Shared\Downloads\SDL-ver2\bin
the prefix is set as
C:\Users\Shared\Downloads\SDL-ver2
On 2020-01-18 01:08:23 +0000, Michael J. Walsh wrote:
Created attachment 4170
a javascript which imitates it's bash namesake