fix(desktop): upgrade better-sqlite3 to 13 so the Electron 43 installer builds and opens its database
better-sqlite3 12.8.0 has no prebuild for Electron 43 (ABI 148) and does not compile against its V8 API, so the v1.18.0 installer build stopped in fix-native-abi and was never published. 13.2.0 ships Node-API prebuilds in the package; one binary runs on Node and Electron. - fix-native-abi.mjs: nothing to swap when the packaged module is a Node-API prebuild. - verify-native-abi.mjs: require the target prebuild, fail on a shadowing build/Release binary, and open a database through the packaged module. - electron-builder: leave out the linux prebuilds we do not ship. Verified: desktop 2,933 tests on Node 24, and WAL/transaction/FTS5 queries in an Electron 43.8.10 main process.
This commit is contained in:
parent
a117bc0d09
commit
fb5f76f57f
9 changed files with 88 additions and 255 deletions
|
|
@ -10,6 +10,7 @@
|
|||
- 실측: desktopCapturer 는 모니터 3대에서 2.9초(DXGI 500ms 대기 × 모니터) → GDI BitBlt 39ms 로 교체(폴백으로만 남김). 실제 화면 2560×1440 인식 0.76초(프로세스 포함 1.2초).
|
||||
- 검증: core 34 + 데스크톱 42 신규 테스트, 데스크톱 전체 214 files / 2,933 GREEN(Node 24.19.0), workspace typecheck·lint·hygiene·design·i18n·contract GREEN, 실엔진 프로브, 헤드리스 Electron 43 에서 오버레이(흐름/사각형 선택·복사·번역·PDF 요청·닫힘 정리) + 인쇄한 PDF 글자 층 검색 확인.
|
||||
- **남은 것:** 실행 중인 앱에서 단축키→포커스→선택 실사용 확인(`GAP-OCR-01`, 그래서 카탈로그는 `[~]`), macOS 엔진 없음(`GAP-OCR-02`, fail-closed 안내).
|
||||
- **릴리스:** `v1.18.0` 은 설치본 빌드에서 멈춰 미게시(로컬 태그만 있음) — 기존 Electron 43 업그레이드가 better-sqlite3 12.8.0(ABI 148 프리빌드 없음·소스 빌드 실패)과 맞지 않았다. better-sqlite3 13.2.0(Node-API)으로 올리고 ABI 스크립트를 고쳐 `1.18.1` 로 다시 냈다. Node-API 라 Node/Electron 이 같은 바이너리를 쓰므로 `rebuild:test`/`rebuild:app` 은 불필요.
|
||||
- 함정: 기본 셸 Node 는 23 — 테스트는 `PATH="$APPDATA/npm:$PATH"`(Node 24.19.0, better-sqlite3 ABI 137)로 돌려야 한다. 한국어 OCR 팩만 있으면 작은 영문 UI 글자를 가끔 오독한다(영어 언어 팩 설치 시 오버레이에서 언어 전환 가능).
|
||||
|
||||
## 학습 어휘를 회의록 전사 교열에 연결 (2026-11-05)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue