Build from source
Requires the .NET 10 SDK on Windows.
dotnet build BetterClipboard.sln
dotnet test --solution BetterClipboard.sln # clipboard tests run in a private window station,
# so they never touch your real clipboard
pwsh tools/release/package.ps1 -Version 0.1.0 # the exact release zips and .7z archives + SHA256SUMS.txt
pwsh tools/release/package-msix.ps1 -Version 0.1.0 -Architectures x64 -NewTestCertificate
# the Microsoft Store package, signed for a test PC
Tip
Set BETTERCLIPBOARD_DATA_DIR to a scratch folder when experimenting so your real history stays clean.
To run your own build as your installed app, publish it to this PC's dev-builds folder
(%LOCALAPPDATA%\BetterClipboard\dev-builds); the installed app's update button then offers it:
pwsh tools/release/publish-dev.ps1 # builds HEAD's commit (never uncommitted changes) as X.Y.Z-dev.N.g<sha>
pwsh tools/release/publish-dev.ps1 -Install # the first time: installs it now (an installed 0.2.9 or older cannot
# read the folder); the update button does the rest
A development build's update button always offers GitHub's latest release too, as the way back.
Releases are built by .github/workflows/release.yml from a v* tag.
Translations live in the build itself, one file per language: docs/localization.md explains how
to add one or fix a string.