From a2282fe33b58b6f029b4d2e8c01b349c88f9de98 Mon Sep 17 00:00:00 2001 From: posimai Date: Tue, 21 Apr 2026 06:50:59 +0900 Subject: [PATCH] =?UTF-8?q?fix(pc-audit):=20bat=20=E3=83=95=E3=82=A1?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=82=92=20CRLF=20=E3=81=AB=E5=A4=89?= =?UTF-8?q?=E6=8F=9B=EF=BC=88=E3=81=A9=E3=81=93=E3=81=8B=E3=82=89=E3=81=A7?= =?UTF-8?q?=E3=82=82=E5=AE=9F=E8=A1=8C=E5=8F=AF=E8=83=BD=E3=81=AB=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- tools/pc-audit/run-audit-share.bat | 24 +++++++----------------- tools/pc-audit/run-audit.bat | 21 ++++++--------------- 2 files changed, 13 insertions(+), 32 deletions(-) diff --git a/tools/pc-audit/run-audit-share.bat b/tools/pc-audit/run-audit-share.bat index b4127abc..83040037 100644 --- a/tools/pc-audit/run-audit-share.bat +++ b/tools/pc-audit/run-audit-share.bat @@ -1,31 +1,21 @@ @echo off -chcp 65001 > nul +cd /d "%~dp0..\.." echo. -echo =========================== -echo Posimai PC Audit (共有用) -echo .claude のパスは匿名化されます -echo =========================== +echo === Posimai PC Audit (Share-Safe) === echo. - -cd /d "%~dp0..\..\" - -echo [1/2] 監査を実行しています(ShareSafe モード)... +echo Running audit (share-safe mode)... call npm run audit:pc:share if errorlevel 1 ( echo. - echo 監査の実行に失敗しました。 + echo ERROR: Audit failed. pause exit /b 1 ) - echo. -echo [2/2] レポートをブラウザで開きます... +echo Opening report viewer... start "" "%~dp0report-viewer.html" - echo. -echo 完了しました。 -echo ブラウザで report-viewer.html が開いたら、 -echo ファイル選択で「out\latest.json」を選んでください。 -echo このレポートは社内 IT やエンジニアに共有できます。 +echo Done. Select out\latest.json in the browser. +echo This report is safe to share with IT / engineers. echo. pause diff --git a/tools/pc-audit/run-audit.bat b/tools/pc-audit/run-audit.bat index 7ec627ef..b2956b11 100644 --- a/tools/pc-audit/run-audit.bat +++ b/tools/pc-audit/run-audit.bat @@ -1,29 +1,20 @@ @echo off -chcp 65001 > nul +cd /d "%~dp0..\.." echo. -echo =========================== -echo Posimai PC Audit -echo =========================== +echo === Posimai PC Audit === echo. - -cd /d "%~dp0..\..\" - -echo [1/2] 監査を実行しています... +echo Running audit... call npm run audit:pc if errorlevel 1 ( echo. - echo 監査の実行に失敗しました。 + echo ERROR: Audit failed. pause exit /b 1 ) - echo. -echo [2/2] レポートをブラウザで開きます... +echo Opening report viewer... start "" "%~dp0report-viewer.html" - echo. -echo 完了しました。 -echo ブラウザで report-viewer.html が開いたら、 -echo ファイル選択で「out\latest.json」を選んでください。 +echo Done. Select out\latest.json in the browser. echo. pause