From 4fa7011e9940028b1eb1d7338924a411201eaca4 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Tue, 9 Dec 2025 12:41:54 -0500 Subject: [PATCH] Set local GOMODCACHE alongside GOCACHE for builds --- scripts/build-linux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build-linux.sh b/scripts/build-linux.sh index f048bda..0a5ce70 100755 --- a/scripts/build-linux.sh +++ b/scripts/build-linux.sh @@ -46,7 +46,8 @@ 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" +export GOMODCACHE="$PROJECT_ROOT/.cache/go-mod" +mkdir -p "$GOCACHE" "$GOMODCACHE" if go build -o "$BUILD_OUTPUT" .; then echo "✓ Build successful! (VideoTools $APP_VERSION)" echo ""