Initial commit
This commit is contained in:
17
build.bat
Normal file
17
build.bat
Normal file
@@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
echo Building VPN Client for Windows...
|
||||
|
||||
go mod download
|
||||
go build -ldflags="-s -w" -o vpn-client.exe main.go
|
||||
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo.
|
||||
echo Build successful!
|
||||
echo Executable: vpn-client.exe
|
||||
) else (
|
||||
echo.
|
||||
echo Build failed!
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user