From 16a655e78595b879fe0be8fe1eed6d6b2f4581c4 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Tue, 9 Dec 2025 12:39:24 -0500 Subject: [PATCH] Use project-local GOCACHE to avoid system cache perms --- scripts/build-linux.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-linux.sh b/scripts/build-linux.sh index fb0fb4c..f048bda 100755 --- a/scripts/build-linux.sh +++ b/scripts/build-linux.sh @@ -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 ""