Run the digital bridge on Windows

The bridge launched its helper only through Wine. It now starts any
process, so on Windows it runs the helper directly. WineBridgeChannel is
renamed ProcessBridgeChannel.

WindowsControlSetup sets up the control side on Windows. The digital
dialog, AppSession, README and docs/digital-bridge.md describe the
Windows setup. publish-windows.sh builds a Windows release.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 21:56:47 +00:00
co-authored by Claude Sonnet 5.5
parent 0ad894bfae
commit c18d79ba5a
11 changed files with 211 additions and 27 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
# Builds a self-contained Windows x64 copy in dist/nonemm-win-x64 and zips it.
# The target machine needs no .NET install. Pass another runtime id as the
# first argument, for example win-arm64 (the bridge and XMMT.ocx are 32 bit
# x86 either way).
rid="${1:-win-x64}"
cd "$(dirname "$0")" || exit 1
out="dist/nonemm-$rid"
rm -rf "$out"
./build.sh publish src/Nonemm.App -c Release -r "$rid" --self-contained -o "$out" || exit 1
rm -f "$out"/*.pdb
rm -f "dist/nonemm-$rid.zip"
python3 -c 'import shutil, sys; shutil.make_archive(sys.argv[1], "zip", "dist", sys.argv[2])' \
"dist/nonemm-$rid" "nonemm-$rid" || exit 1
echo "dist/nonemm-$rid.zip"