Use project-local GOCACHE to avoid system cache perms

This commit is contained in:
Stu Leak 2025-12-09 12:39:24 -05:00
parent cfe21e786d
commit 16a655e785

View File

@ -45,6 +45,8 @@ echo ""
echo "🔨 Building VideoTools..."
# Fyne needs cgo for GLFW/OpenGL bindings; build with CGO enabled.
export CGO_ENABLED=1
export GOCACHE="$PROJECT_ROOT/.cache/go-build"
mkdir -p "$GOCACHE"
if go build -o "$BUILD_OUTPUT" .; then
echo "✓ Build successful! (VideoTools $APP_VERSION)"
echo ""