posimai-root/tools/pc-audit/run-audit-share.bat

32 lines
763 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 > nul
echo.
echo ===========================
echo Posimai PC Audit (共有用)
echo .claude のパスは匿名化されます
echo ===========================
echo.
cd /d "%~dp0..\..\"
echo [1/2] 監査を実行していますShareSafe モード)...
call npm run audit:pc:share
if errorlevel 1 (
echo.
echo 監査の実行に失敗しました。
pause
exit /b 1
)
echo.
echo [2/2] レポートをブラウザで開きます...
start "" "%~dp0report-viewer.html"
echo.
echo 完了しました。
echo ブラウザで report-viewer.html が開いたら、
echo ファイル選択で「out\latest.json」を選んでください。
echo このレポートは社内 IT やエンジニアに共有できます。
echo.
pause