Package app as installer + move Riot key to Settings (Rung 1) #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/packaging-rung1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rung 1 of the packaging plan — ship a real installed/portable
.exeinstead ofnpm start, and make the Riot API key a first-class in-app setting.Packaging (electron-builder)
dist/dist:dirscripts + abuildconfig targeting NSIS (per-user, no admin) + portable; placeholderbuild/icon.ico@koromix/koffi-win32-x64(where koffi 3.x actually ships the.node, notnode_modules/koffi) and the tesseract worker dep subtree (tesseract.js(-core),wasm-feature-detect,bmp-js,is-url,zlibjs,regenerator-runtime)eng.traineddataas an extraResource — now tracked in git sonpm run distis reproducible on a clean clonecs-ocr: pass packaged worker/lang/cache paths to tesseract whenapp.isPackaged(corePathis unused in node;workerPathmust point at the unpacked script)logger: writedebug.loginto%APPDATA%/<app>/when packaged, detected fromprocess(notapp.getPath, which is unsafe that early and crashed SonicBoom)Riot key → Settings only (no env/.env fallback in the app)
riotApiKeysetting + masked field in the Settings panel +set-riot-api-keyIPC + preload/store wiring; read viareadRiotApiKey(settings)harvest:benchmarksCLI still readsRIOT_API_KEYfrom the envVerification
assistant.started,cs_ocr.ready,debug.login userData, no crashsrc/,debug.log, or.env)🤖 Generated with Claude Code