ProxySuite-<version>-windows-x64-setup.exe (NSIS, English and Russian): it unpacks the release into its temporary folder and runs the release's own proxy-suite-service.exe install from there, as install.cmd does from the zip (unpacked straight into Program Files, an upgrade would find its files in use). It refuses 32-bit Windows and anything before 10 1903, and offers Windows' OpenSSH Client, unchecked, for the SSH tunnel. install now writes the entry in Settings > Apps (uninstall.cmd; quietly, the service's uninstall), and uninstall removes it, with WinDivert's driver service when it is the suite's own. The release workflow publishes the setup beside the zip. The app's icon and GPUI's manifest share one resource (llvm-rc for both); the build scripts' clones retry, and are kept for the next build. Tested under Wine: tools/wine-setup-test.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
72 lines
1.8 KiB
Nix
72 lines
1.8 KiB
Nix
{
|
|
description = "Proxy Suite for Windows: development shell";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs =
|
|
{ nixpkgs, ... }:
|
|
let
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
forAll = nixpkgs.lib.genAttrs systems;
|
|
in
|
|
{
|
|
devShells = forAll (
|
|
system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
# GPUI also runs on Linux, so the GUI can be tried here before a Windows build.
|
|
guiLibs = with pkgs; [
|
|
libxkbcommon
|
|
wayland
|
|
vulkan-loader
|
|
libx11
|
|
libxcb
|
|
libxcursor
|
|
libxi
|
|
libxrandr
|
|
fontconfig
|
|
freetype
|
|
alsa-lib
|
|
];
|
|
in
|
|
{
|
|
default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
rustup
|
|
pkg-config
|
|
cargo-xwin
|
|
clang
|
|
lld
|
|
llvm
|
|
pkgsCross.mingwW64.stdenv.cc
|
|
# The backends, to check rendered configs and run the service on Linux.
|
|
sing-box
|
|
xray
|
|
python3
|
|
jq
|
|
zip
|
|
unzip
|
|
curl
|
|
git
|
|
python3Packages.pip
|
|
# The SSH tunnel's end-to-end test runs an sshd of its own.
|
|
openssh
|
|
# wireproxy-awg and whitelist-bypass, built from source (Go cross-compiles).
|
|
go
|
|
# The setup program (tools/installer.nsi).
|
|
nsis
|
|
];
|
|
buildInputs = guiLibs;
|
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath guiLibs;
|
|
shellHook = ''
|
|
export PATH="$HOME/.cargo/bin:$PATH"
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
};
|
|
}
|