1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 12:21:20 +00:00

Merge pull request #74 from mkilgore/steves-changes

Steve's changes in #73, with fixed history.
This commit is contained in:
Steve McNeill 2022-05-21 18:51:39 -04:00 committed by GitHub
commit a5099bfdd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 24 deletions

View file

@ -16,6 +16,7 @@ curl %url% -o %MINGW%
echo Extracting %MINGW% as C++ Compiler
@echo off
%MINGW% -y -o"./internal/c/c_compiler/"
del %MINGW%
:skipccompsetup

View file

@ -1086,10 +1086,10 @@ IF C = 9 THEN 'run
IF os$ = "LNX" THEN
IF LEFT$(lastBinaryGenerated$, LEN(path.exe$)) = path.exe$ THEN
SHELL QuotedFilename$(lastBinaryGenerated$) + ModifyCOMMAND$
SHELL _HIDE _DONTWAIT "del " + QuotedFilename$(lastBinaryGenerated$)
KILL lastBinaryGenerated$
ELSE
SHELL QuotedFilename$(path.exe$ + lastBinaryGenerated$) + ModifyCOMMAND$
SHELL _HIDE _DONTWAIT "del " + QuotedFilename$(path.exe$ + lastBinaryGenerated$)
KILL path.exe$ + lastBinaryGenerated$
END IF
END IF
IF path.exe$ = "./" THEN path.exe$ = ""
@ -3290,12 +3290,12 @@ DO
CASE "FILEVERSION#"
GOSUB ValidateVersion
viFileVersionNum$ = VersionInfoValue$
if viFileVersion$ = "" THEN viFileVersion$ = viFileVersionNum$
IF viFileVersion$ = "" THEN viFileVersion$ = viFileVersionNum$
layout$ = SCase$("$VersionInfo:FILEVERSION#=") + VersionInfoValue$
CASE "PRODUCTVERSION#"
GOSUB ValidateVersion
viProductVersionNum$ = VersionInfoValue$
if viProductVersion$ = "" THEN viProductVersion$ = viProductVersionNum$
IF viProductVersion$ = "" THEN viProductVersion$ = viProductVersionNum$
layout$ = SCase$("$VersionInfo:PRODUCTVERSION#=") + VersionInfoValue$
CASE "COMPANYNAME"
viCompanyName$ = VersionInfoValue$
@ -12378,7 +12378,7 @@ IF ExeIconSet THEN
DIM errNo AS LONG
errNo = CopyFile&(ExeIconFile$, tmpdir$ + "icon.ico")
if errNo <> 0 THEN a$ = "Error copying " + QuotedFilename$(ExeIconFile$) + " to temp directory": GOTO errmes
IF errNo <> 0 THEN a$ = "Error copying " + QuotedFilename$(ExeIconFile$) + " to temp directory": GOTO errmes
ON ERROR GOTO qberror
END IF
@ -12642,7 +12642,7 @@ IF os$ = "WIN" THEN
END IF
NEXT
If No_C_Compile_Mode = 0 THEN
IF No_C_Compile_Mode = 0 THEN
SHELL _HIDE "cmd /c " + makeline$ + " 1>> " + compilelog$ + " 2>&1"
IF idemode THEN