Add build scripts and Windows icon/resources

Added:
- build_dev.bat / build_dev.sh - Development build scripts
- build_release.bat / build_release.sh - Release build scripts with embedding
- icon.ico - Default Windows icon for executable
- resources.rc - Windows resource file for icon and exe metadata
- BUILD_SCRIPTS.md - Complete documentation for build scripts

Features:
- Automated development builds (no embedding, fast iteration)
- Automated release builds (with Lua and asset embedding)
- Interactive verification and cleanup
- Custom icon and version info in Windows executables
- Cross-platform scripts (Windows .bat and Unix .sh)
- Safety checks and helpful messages

The build scripts provide one-command building for both development
and release workflows, with clear instructions and progress feedback.
This commit is contained in:
2025-11-03 18:11:34 +05:30
parent f4d927aac0
commit 4859c415cc
8 changed files with 738 additions and 0 deletions

30
resources.rc Normal file
View File

@@ -0,0 +1,30 @@
IDI_ICON1 ICON "icon.ico"
1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3fL
FILEFLAGS 0x0L
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Reilua and Indrajith K L"
VALUE "FileDescription", "Made using ReiLua"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "ReiLua"
VALUE "LegalCopyright", "Copyright (C) ReiLua and Indrajith K L, 2025"
VALUE "OriginalFilename", "ReiLua.exe"
VALUE "ProductName", "My Awesome Game"
VALUE "ProductVersion", "1.0.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END