Files
piik/scripts/reset-beta-app-data.cmd
AAA 179ecd0e53 fix(tools): offer a backup-preserving beta reset entry
Add a double-click CMD wrapper for the existing beta reset script. Reuse the running-App check, explicit RESET confirmation and directory backup, and clarify the difference between a full beta profile reset and room attachment cleanup.

Validation: actual Windows CMD controls on owned synthetic data cover running-App rejection, cancellation, backup preservation and paths containing spaces, non-ASCII characters and exclamation marks. No actual user profile was reset. The desktop entry is separately bound to the current test profile.
2026-11-24 20:24:21 -05:00

10 lines
335 B
Batchfile

@echo off
setlocal EnableExtensions DisableDelayedExpansion
title Piik beta data reset (keeps a backup)
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0reset-beta-app-data.ps1"
set "result=%errorlevel%"
echo.
echo Press any key to close.
pause >nul
exit /b %result%