Remove the privacy-scan command; releases run an optional owner-supplied check instead

waybetter release and the remote builds no longer scan artifacts themselves: WAYBETTER_RELEASE_CHECK
can name a command that gets every artifact path before anything is copied or signed (a non-zero
exit stops the release). The command, its tests and every mention in the docs, the template and
the architecture diagram are gone.
This commit is contained in:
CRTkafa 2026-10-11 07:32:38 +08:00
parent 9b42e84cdd
commit 699daaa0b2
13 changed files with 48 additions and 1108 deletions

View file

@ -1214,8 +1214,7 @@ function readme(o) {
'',
'Build with `npm run desktop:build` (or `npm run release`), not a bare `tauri build`: a Rust binary',
'embeds the paths it was built from, and those hold your account name. `waybetter build-env` maps',
'them to `/home`, `/src`, `/cargo` and `/rustup`; `npm run privacy:scan` and the release check the',
'result (`waybetter privacy-scan --help`).',
'them to `/home`, `/src`, `/cargo` and `/rustup`.',
'',
'```text',
'```',
@ -1266,7 +1265,6 @@ export function appFiles(o) {
dev: 'waybetter dev --watch "node scripts/build.mjs --watch"',
'dev:stable': 'waybetter dev --stable --watch "node scripts/build.mjs --watch"',
'desktop:build': 'waybetter build-env -- tauri build',
'privacy:scan': 'waybetter privacy-scan --tracked .',
'test:rust': 'cargo test --manifest-path src-tauri/Cargo.toml --no-default-features',
release: 'waybetter release windows',
'release:macos': 'waybetter release macos',