fix: start_bot.bat 안정성 개선#18
Open
OSgoodYZ wants to merge 3 commits into
Open
Conversation
수정 사항 ┌──────────────────────┬────────────────────────────────────────────────────────────────────┐ │ 파일 │ 변경 내용 │ ├──────────────────────┼────────────────────────────────────────────────────────────────────┤ │ npm install │ diff2html, puppeteer 등 누락 패키지 81개 설치 │ ├──────────────────────┼────────────────────────────────────────────────────────────────────┤ │ scripts/build.mjs:27 │ external에 puppeteer 추가 (Chromium 바이너리라 번들 불가) │ ├──────────────────────┼────────────────────────────────────────────────────────────────────┤ │ start_bot.bat:5-12 │ node_modules 존재해도 패키지 누락 시 npm install 재실행하도록 개선 │ └──────────────────────┴────────────────────────────────────────────────────────────────────┘ diff2html은 순수 JS라서 esbuild가 번들에 포함시키고, puppeteer는 external로 빠져서 exe에서는 diff 이미지 렌더링이 비활성화되고 텍스트 모드로 fallback됩니다. pkg 방식 그대로 유지했습니다.
- cd /d "%~dp0" 추가로 어디서 실행해도 올바른 디렉토리로 이동 - call 명령어 사용으로 배치 파일 제어권 유지 - 에러 핸들링 추가 (에러 시 pause로 메시지 확인 가능) - 상태 메시지 추가로 디버깅 용이 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.