@echo off REM Build Former for Windows — run this on a Windows machine with Go and Wails installed REM Prerequisites: Go 1.21+, Wails CLI (go install github.com/wailsapp/wails/v2/cmd/wails@latest) echo Generating app icon... go run ./cmd/genicon 2>nul && echo Icon generated. || echo Icon generation skipped. echo Building Former for Windows... wails build -skipbindings if %ERRORLEVEL% NEQ 0 ( echo Build failed. exit /b 1 ) echo. echo Done: build\bin\Former.exe