Add AV/Defender tests and clear PROBLEMS.md antivirus rows.

Cover mining diagnostics JSON blockers, AV-Safe preset fields, defender_off error paths, and Calibrate exclusion .ps1 generation with Go + Vitest; honest AV limits already documented in settingHelp.
This commit is contained in:
AetherForge
2026-06-07 06:34:56 -07:00
parent 74c006a04b
commit 7831e70dd4
35 changed files with 436 additions and 197 deletions

View File

@@ -0,0 +1,11 @@
declare const __APP_VERSION__: string;
/** Sidebar / about label — server build wins, else Vite-injected package.json version. */
export function formatAppVersion(serverVersion?: string | null): string {
const raw = (serverVersion?.trim() || __APP_VERSION__ || '1.0.0').replace(/^v/i, '');
return `v${raw}`;
}
export function readPackageVersion(): string {
return __APP_VERSION__;
}