From 41504be7073db77aaa0b17c87d5572157d0cc9a5 Mon Sep 17 00:00:00 2001 From: ChienNM3 Date: Mon, 5 Feb 2024 22:28:43 +0700 Subject: [PATCH] Update buid for windows --- build/build-windows.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build-windows.bat b/build/build-windows.bat index e83ecd4..5d9e402 100755 --- a/build/build-windows.bat +++ b/build/build-windows.bat @@ -1,3 +1,3 @@ @echo off -go build -ldflags "-H windowsgui" -o build\bin\TorPlayer_%1.exe \ No newline at end of file +go build -ldflags "-H windowsgui -extldflags=-static" -o build\bin\TorPlayer_%1.exe \ No newline at end of file