Skip to content

fix: start_bot.bat 안정성 개선#18

Open
OSgoodYZ wants to merge 3 commits into
mainfrom
hotfix/diffBuildBug
Open

fix: start_bot.bat 안정성 개선#18
OSgoodYZ wants to merge 3 commits into
mainfrom
hotfix/diffBuildBug

Conversation

@OSgoodYZ
Copy link
Copy Markdown
Collaborator

No description provided.

osgoodCJ and others added 3 commits February 11, 2026 20:43
  수정 사항
  ┌──────────────────────┬────────────────────────────────────────────────────────────────────┐
  │         파일         │                             변경 내용                              │
  ├──────────────────────┼────────────────────────────────────────────────────────────────────┤
  │ 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants