GooseMod / OpenAsar

Open-source alternative of Discord desktop's app.asar
https://openasar.dev
GNU Affero General Public License v3.0
2.54k stars 67 forks source link

Fails to init on Manjaro #177

Closed TipsyTheCat closed 7 months ago

TipsyTheCat commented 7 months ago
[OpenAsar > Init] OpenAsar nightly-4f264d8
App threw an error during load
Error: ENOENT: no such file or directory, open '/usr/lib/electron29/resources/build_info.json'
    at Object.readFileUtf8 (node:internal/fs/sync:25:18)
    at Object.readFileSync (node:fs:441:19)
    at t.readFileSync (node:electron/js2c/node_init:2:9771)
    at Object.<anonymous> (/usr/lib/discord/resources/app.asar/utils/buildInfo.js:1:41)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
TipsyTheCat commented 7 months ago

fixed it. i just sym linked it to /usr/lib/discord/resources/build_info.json