File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3838 run : |
3939 cd cmd/go2tv
4040 sed -i "s/version = \"dev\"/version = \"$(echo ${{ env.GO2TV_VERSION }} | sed 's/^v//')\"/" go2tv.go
41- CGO_ENABLED=1 CC=gcc CXX=g++ CGO_LDFLAGS="-static -static-libgcc -static-libstdc++" go run fyne.io/tools/cmd/fyne@latest package --release --app-id app.go2tv.go2tv --os windows --icon ../../assets/go2tv-icon.png
41+ CGO_ENABLED=1 CC=gcc CXX=g++ CGO_LDFLAGS="-static -static-libgcc -static-libstdc++" GOFLAGS="-ldflags=-linkmode=external -ldflags=-extldflags=-static" go run fyne.io/tools/cmd/fyne@latest package --release --app-id app.go2tv.go2tv --os windows --icon ../../assets/go2tv-icon.png
4242 objdump -p go2tv.exe | grep "DLL Name" | tee /tmp/go2tv-imports.txt
4343 ! grep -Eq "libwinpthread-1.dll|libstdc\+\+-6.dll" /tmp/go2tv-imports.txt
4444 mv go2tv.exe ../../
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ wayland: clean
2828 go build -tags " $( TAGS) ,wayland" -trimpath -ldflags $(LDFLAGS ) -o $(BIN ) ./cmd/go2tv
2929
3030windows : clean
31- env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ CGO_LDFLAGS=" -static -static-libgcc -static-libstdc++" GOOS=windows GOARCH=amd64 go build -tags " $( TAGS) " -trimpath -ldflags $(LDFLAGS_WINDOWS ) -o $(BIN_WIN ) ./cmd/go2tv
31+ env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ CGO_LDFLAGS=" -static -static-libgcc -static-libstdc++" GOOS=windows GOARCH=amd64 go build -tags " $( TAGS) " -trimpath -ldflags " $( LDFLAGS_WINDOWS) -linkmode external -extldflags '-static' " -o $(BIN_WIN ) ./cmd/go2tv
3232
3333
3434install : build
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require (
1818 github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d
1919 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2020 github.com/vishen/go-chromecast v0.3.4
21- go2tv.app/screencast v0.0.0-20260222003927-09fb2b719a46
21+ go2tv.app/screencast v0.0.0-20260222010231-bf9835efb1db
2222 golang.org/x/mod v0.33.0
2323 golang.org/x/time v0.14.0
2424)
Original file line number Diff line number Diff line change @@ -173,8 +173,8 @@ github.com/yuin/goldmark v1.7.16 h1:n+CJdUxaFMiDUNnWC3dMWCIQJSkxH4uz3ZwQBkAlVNE=
173173github.com/yuin/goldmark v1.7.16 /go.mod h1:ip/1k0VRfGynBgxOz0yCqHrbZXhcjxyuS66Brc7iBKg =
174174go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc =
175175go.yaml.in/yaml/v3 v3.0.4 /go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg =
176- go2tv.app/screencast v0.0.0-20260222003927-09fb2b719a46 h1:mOqkoweTtIroIu9C3uyCqyS6zgkI3itGVb/nYeBX1WM =
177- go2tv.app/screencast v0.0.0-20260222003927-09fb2b719a46 /go.mod h1:SuTkH1JeLAuYESPe0rmpmqmprr+Q2Z/Dfh2t4oHlCMM =
176+ go2tv.app/screencast v0.0.0-20260222010231-bf9835efb1db h1:wsbBqcNXfK6Tfy7r4P0Jr5WsuxUMO6UW2Dv/FUzCysM =
177+ go2tv.app/screencast v0.0.0-20260222010231-bf9835efb1db /go.mod h1:SuTkH1JeLAuYESPe0rmpmqmprr+Q2Z/Dfh2t4oHlCMM =
178178golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 /go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w =
179179golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 /go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI =
180180golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 /go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto =
You can’t perform that action at this time.
0 commit comments