added static load files,

added TPsoft logo to header,
added build batch script for windows
This commit is contained in:
2026-01-22 20:58:07 +01:00
parent 78aaf83d6e
commit b692a58ee2
4 changed files with 67 additions and 9 deletions

40
build.bat Normal file
View File

@ -0,0 +1,40 @@
@echo off
setlocal
echo ==============================
echo Building Go binaries...
echo ==============================
set APP_NAME=dbPrompt
REM Create output folder
if not exist dist mkdir dist
REM Windows build
echo Building Windows...
set GOOS=windows
set GOARCH=amd64
go build -o dist\%APP_NAME%-windows-amd64.exe
if errorlevel 1 goto error
REM Linux build
echo Building Linux...
set GOOS=linux
set GOARCH=amd64
go build -o dist\%APP_NAME%-linux-amd64
if errorlevel 1 goto error
echo ==============================
echo Build completed successfully!
echo Output in dist\
goto end
:error
echo.
echo BUILD FAILED!
exit /b 1
:end
endlocal