windows: release through Gitea Actions
.gitea/workflows/windows-release.yml builds the Windows release in the repository's own Nix dev shell (pinned Nix installer, checked by hash), tests, packages, and on a tag windows-v<version> publishes the zip and its .sha256 to a Gitea release with windows/release-notes/<version>.md. Run by hand it only builds. As upstream's workflow: the job that runs fetched code holds no token that can write; only the publishing job sees RELEASE_TOKEN, and it runs curl and jq on the first job's artifact. rust-toolchain.toml pins the toolchain the release is built with. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
363caf912a
commit
da6aafaf1d
4 files changed
+202
-2
No files matched your search
+7
-2
@@ -146,5 +146,10 @@ tools/package.sh # the release zip, in dist/
|
||||
nix shell nixpkgs#wineWow64Packages.stable -c tools/winws-dry-run.sh dist/ProxySuite-*/components
|
||||
```
|
||||
|
||||
The Windows programs are cross-compiled with `cargo xwin` (MSVC target). Design notes:
|
||||
[`DESIGN.md`](DESIGN.md).
|
||||
The Windows programs are cross-compiled with `cargo xwin` (MSVC target), with the toolchain
|
||||
in `rust-toolchain.toml`. Design notes: [`DESIGN.md`](DESIGN.md).
|
||||
|
||||
Releases are built by Gitea Actions (`.gitea/workflows/windows-release.yml`): bump `version`
|
||||
in `Cargo.toml`, add `release-notes/<version>.md`, push a tag `windows-v<version>`. The
|
||||
workflow tests, packages and publishes the zip and its `.sha256` with the `RELEASE_TOKEN`
|
||||
secret (a token with `write:repository`). Run by hand, it only builds.
|
||||
@@ -0,0 +1,29 @@
|
||||
First pre-release of the native Windows port of proxy-suite-flake: a Windows service with `proxy-ctl`, no GUI yet. It replaces 0.1.0-pre.1, which never had a build, and fixes a local privilege escalation found in it: the service could go on with a state folder it had failed to secure.
|
||||
|
||||
**This build has never run on real Windows.** It was built and tested on Linux and under Wine. See "What has been verified" in the README, and please report what happens on yours.
|
||||
|
||||
### In this release
|
||||
- **Local proxy:** SOCKS5/HTTP on `127.0.0.1:1080` through sing-box 1.14.4, or the hybrid sing-box + XRay 26.10.21 backend.
|
||||
- **Outbounds:**
|
||||
- Links of every kind upstream parses, plus raw JSON and subscriptions.
|
||||
- Groups (failover, urltest, selector), chains, pins and route modes.
|
||||
- Routing rules by site, address, geodata, rule set or **program**.
|
||||
- **zapret:** Flowseal's zapret-discord-youtube 1.10.4 (`winws.exe` with WinDivert), with any `general*.bat` preset, your lists and the game filter.
|
||||
- **zapret2:** `winws2.exe` from bol-van's zapret-win-bundle, with nfqws2-keenetic's strategies and nfqws2's own learning of blocked sites.
|
||||
- **tg-ws-proxy:** Flowseal's tg-ws-proxy 1.11.2 on a bundled Python 3.12.
|
||||
- **TUN:** sing-box's TUN (wintun). Don't use it together with zapret yet.
|
||||
|
||||
Every bundled program is pinned by version and hash, and checked before it runs.
|
||||
|
||||
### Install
|
||||
Download `ProxySuite-0.1.0-pre.2-windows-x64.zip`; its SHA-256 is in the `.sha256` file next to it.
|
||||
|
||||
1. Unzip.
|
||||
2. Run `install.cmd` as administrator. It copies to `C:\Program Files\ProxySuite`, registers the **ProxySuite** service and adds `proxy-ctl` to PATH.
|
||||
3. In a new terminal, run `proxy-ctl status`.
|
||||
|
||||
### Not yet
|
||||
The desktop app (GPUI, tray), AmneziaWG, WARP, Tor, the SSH tunnel, whitelist-bypass, the kill switch, server inbounds, the XRay-only backend, zapret2's extended detection and the z2k strategies.
|
||||
|
||||
### Note
|
||||
Unlike upstream, the signed-in user may change every setting by default (`userControl`), except the ones that could run programs or read files as SYSTEM: those always need an administrator. On a shared computer, restrict `userControl.scopes`.
|
||||
@@ -0,0 +1,6 @@
|
||||
# The toolchain the releases are built with, here and in .gitea/workflows/windows-release.yml.
|
||||
[toolchain]
|
||||
channel = "1.99.1"
|
||||
profile = "minimal"
|
||||
components = ["clippy", "rustfmt"]
|
||||
targets = ["x86_64-pc-windows-msvc"]
|
||||
Reference in new issue
Block a user