19 lines
394 B
Batchfile
19 lines
394 B
Batchfile
@echo off
|
|
echo Verifying Go installation...
|
|
echo.
|
|
"C:\Program Files\Go\bin\go.exe" version
|
|
echo.
|
|
if %errorlevel% == 0 (
|
|
echo [SUCCESS] Go is working!
|
|
echo.
|
|
echo Please tell WorkBuddy: "Go验证成功"
|
|
) else (
|
|
echo [ERROR] Go is not working
|
|
echo.
|
|
echo Please try:
|
|
echo 1. Close all command windows
|
|
echo 2. Open new PowerShell
|
|
echo 3. Run: go version
|
|
)
|
|
pause
|