### preparation 1. `package.json` 中的 name 要和 build 中 appId 的名字保持一致,see: https://github.com/electron-userland/electron-builder/issues/5134#issuecomment-1949867455 2. 要开启 app 权限,see: https://github.com/electron-userland/electron-builder/issues/5431#issuecomment-1312180989 ### qrcode-terminal octal ```shell gsed -i 's#\\033\[40m \\033\[0m#\u001B[40m \u001B[0m#g' node_modules/qrcode-terminal/lib/main.js gsed -i 's#\\033\[47m \\033\[0m#\u001B[47m \u001B[0m#g' node_modules/qrcode-terminal/lib/main.js ``` ### tiktoken wasm see: https://chatgpt.com/c/84c78d18-bdee-4646-b2f6-4f54d95db0e0
preparation
package.json中的 name 要和 build 中 appId 的名字保持一致,see: ERR_ELECTRON_BUILDER_CANNOT_EXECUTE electron-userland/electron-builder#5134 (comment)qrcode-terminal octal
tiktoken wasm
see: https://chatgpt.com/c/84c78d18-bdee-4646-b2f6-4f54d95db0e0