diff --git a/.ci/bootstrap.bat b/.ci/bootstrap.bat index 77dabdde1..f69375be3 100644 --- a/.ci/bootstrap.bat +++ b/.ci/bootstrap.bat @@ -38,6 +38,8 @@ cd ..\..\..\..\..\.. echo Bootstrapping QB64 copy internal\source\*.* internal\temp\ >nul +copy source\qb64.ico internal\temp\ >nul +copy source\icon.rc internal\temp\ >nul cd internal\c c_compiler\bin\windres.exe -i ..\temp\icon.rc -o ..\temp\icon.o c_compiler\bin\g++ -mconsole -s -Wfatal-errors -w -Wall qbx.cpp libqb\os\win\libqb_setup.o ..\temp\icon.o -D DEPENDENCY_LOADFONT parts\video\font\ttf\os\win\src.o -D DEPENDENCY_SOCKETS -D DEPENDENCY_NO_PRINTER -D DEPENDENCY_ICON -D DEPENDENCY_NO_SCREENIMAGE parts\core\os\win\src.a -lopengl32 -lglu32 -mwindows -static-libgcc -static-libstdc++ -D GLEW_STATIC -D FREEGLUT_STATIC -lws2_32 -lwinmm -lgdi32 -o "..\..\qb64_bootstrap.exe" diff --git a/source/icon.rc b/source/icon.rc new file mode 100644 index 000000000..1791fe5c9 --- /dev/null +++ b/source/icon.rc @@ -0,0 +1,28 @@ +0 ICON "qb64.ico" + +1 VERSIONINFO +FILEVERSION 2,1,0,0 +PRODUCTVERSION 2,1,0,0 +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + BEGIN + VALUE "CompanyName","QB64\0" + VALUE "FileDescription","QB64 Compiler\0" + VALUE "FileVersion","2.1\0" + VALUE "InternalName","qb64.bas\0" + VALUE "LegalCopyright","LGPL\0" + VALUE "LegalTrademarks","\0" + VALUE "OriginalFilename","qb64.exe\0" + VALUE "ProductName","QB64\0" + VALUE "ProductVersion","2.1\0" + VALUE "Comments","QB64 is a modern extended BASIC programming language that retains QB4.5/QBasic compatibility and compiles native binaries for Windows, Linux and macOS.\0" + END + END + + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 0x04E4 + END +END