Working ARM64 (Apple Silicon) build available
There's been interest in an Apple Silicon build, so I put together a working native arm64 macOS build, available on https://github.com/gingergeek8192/webtorrent-desktop/releases/tag/v0.25.0-arm64
Note: The current build is unsigned.
The main changes involved upgrading Electron from 27.3.11 to 39.8.10, replacing the deprecated electron-packager, electron-osx-sign, and electron-notarize packages with their modern @electron equivalents, and making several dependency and build-system fixes for current Node/pnpm compatibility.
I also replaced the abandoned xmldom dependency with @xmldom/xmldom and pinned plist to 3.1.1 due to newer versions being ESM-only and incompatible with the existing CommonJS build.
The resulting application builds and runs natively on Apple Silicon.
Happy to submit a PR if there's interest in merging these changes upstream.
Source: webtorrent/webtorrent-desktop