Files
Nonemm/publish-windows.sh
T
erikbrockoandClaude Sonnet 5.5 c18d79ba5a 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>
2026-10-23 21:56:47 +00:00

16 lines
658 B
Bash
Executable File

#!/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"