Skip to content

Commit 97aea62

Browse files
committed
Update: Change windows 7 compatible Go binary from thongtech/go-legacy-win7 to XTLS/go-win due to delays releasing new versions
1 parent 3d370b3 commit 97aea62

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/releaser.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
id: setup_go_legacy
2727
run: |
2828
dir="${{ vars.GOROOT_LEGACY }}"
29-
subdir="go-legacy-win7"
30-
curl -L https://github.com/thongtech/$subdir/releases/download/v1.26.3-1/$subdir-1.26.3-1.linux_amd64.tar.gz -o go.tar.gz
31-
sudo mkdir -p "$dir"
32-
sudo tar -C "$dir" --strip-components=1 -xzf go.tar.gz
33-
rm go.tar.gz
34-
echo "goroot=$dir/$subdir" >> $GITHUB_OUTPUT
29+
subdir="go-win7"
30+
finaldir="$dir/$subdir"
31+
curl -L https://github.com/XTLS/go-win7/releases/download/patched-1.26.3/go-for-win7-linux-amd64.zip -o go.zip
32+
sudo mkdir -p "$finaldir"
33+
sudo unzip -q go.zip -d "$finaldir"
34+
rm go.zip
35+
echo "goroot=$finaldir" >> $GITHUB_OUTPUT
3536
- name: Generate Goreleaser config
3637
shell: bash
3738
run: |

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- OS requirements correspond to the server/launcher ones. Cross-compilation works on all systems out-the-box.
44
- Go 1.26:
55
* Officially from https://go.dev/dl/ if not running Windows or is 10 and higher (or equivalent).
6-
* Unnoficially from [thongtech/go-legacy-win7](https://github.com/thongtech/go-legacy-win7) if running Windows
6+
* Unnoficially from either [thongtech/go-legacy-win7](https://github.com/thongtech/go-legacy-win7) or [https://github.com/XTLS/go-win7](XTLS/go-win7) if running Windows
77
7-8.X (or equivalent). Regardless if you install the official version, you need to install this one too for
88
release.
99
- [Git](https://git-scm.com/downloads), with the latest supported for Windows 7-8 being v2.46.2.

0 commit comments

Comments
 (0)