mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-20 14:44:19 -04:00
2339a80952
The CI workflow runs npm ci --ignore-scripts in newIDE/electron-app/, which skips the postinstall script that normally installs app/ dependencies (where fs-extra was declared). This caused callLLM.test.js to fail with 'Cannot find module fs-extra' when loading byokConfig.js. Fix: replace fs-extra (readFile, ensureDir, writeJson) with native Node.js fs.promises equivalents (readFile, mkdir recursive, writeFile). All three operations are trivially available in the native fs module — no external dependency needed. This makes byokConfig.js loadable in any Node environment. Tests: all 72 BYOK unit tests pass (4 suites, 72 assertions, 0 failures).
GDevelop IDE Electron app
This is the Electron sources to package GDevelop new IDE into a standalone editor.
See the general README for more information.