1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00

Stop running windres from qb64.bas

Makefile does this
This commit is contained in:
Matthew Kilgore 2022-05-01 01:32:13 -04:00
parent 31783d9ec2
commit cfb86d2c8f

View file

@ -12472,21 +12472,6 @@ IF VersionInfoSet OR ExeIconSet THEN
END IF
END IF
IF os$ = "WIN" THEN
IF ExeIconSet OR VersionInfoSet THEN
ffh = FREEFILE
OPEN tmpdir$ + "call_windres.bat" FOR OUTPUT AS #ffh
PRINT #ffh, "internal\c\c_compiler\bin\windres.exe -i " + tmpdir$ + "icon.rc -o " + tmpdir$ + "icon.o"
CLOSE #ffh
SHELL _HIDE tmpdir$ + "call_windres.bat"
IF _FILEEXISTS(tmpdir$ + "icon.o") = 0 THEN
a$ = "Bad icon file"
IF VersionInfoSet THEN a$ = a$ + " or invalid $VERSIONINFO values"
GOTO errmes
END IF
END IF
END IF
'Update dependencies
o$ = LCASE$(os$)