60c5cb7e59
Windows-PowerShell 5.1 liest .ps1 ohne UTF-8 BOM als Windows-1252;
em-dashes (-), Pfeile (->), Box-Zeichen, Emojis (OK/FAIL/WARN) wurden
als Mojibake interpretiert ("â€"" fuer "-") und sprengten den Parser.
Loesung: alle Sonderzeichen durch ASCII-Aequivalente ersetzt:
- "-" / "->" statt em-dash / Pfeil
- "===" statt Box-Linien
- "[OK]" / "[FAIL]" / "[WARN]" statt Emojis
Funktioniert jetzt zuverlaessig auf jeder Windows-PS-Version ohne BOM.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 lines
664 B
Batchfile
17 lines
664 B
Batchfile
@echo off
|
|
REM ================================================================
|
|
REM ARIA - Cleanup-Wrapper fuer Windows
|
|
REM ================================================================
|
|
REM Ruft cleanup-windows.ps1 mit ExecutionPolicy Bypass auf.
|
|
REM Funktioniert auch wenn Windows .ps1 direkt nicht startet.
|
|
REM
|
|
REM Nutzung:
|
|
REM cleanup-windows.bat stefan
|
|
REM cleanup-windows.bat stefan -SkipPrune
|
|
REM
|
|
REM Doppelklick funktioniert NICHT (braucht Username als Param).
|
|
REM Per Konsole aufrufen.
|
|
REM ================================================================
|
|
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0cleanup-windows.ps1" %*
|