mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-26 19:47:42 +00:00
Chromium on macOS takes its temp directory from NSTemporaryDirectory(), which is unusable under Darling. Electron opens files in app.asar asynchronously by copying them to a temp file, and reports the failed copy as "not found", so the Riot client showed a "Not Found" page instead of its UI. Running the client binary as Node reproduces it: fs.readFileSync on app.asar/dist/renderer/index.html works, fs.createReadStream fails with ENOENT, and MAC_CHROMIUM_TMPDIR fixes it. Co-Authored-By: Claude Opus 5.5 <[email protected]>