Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron build 持续更新 #49

Open
MarkShawn2020 opened this issue Jul 22, 2024 · 0 comments
Open

electron build 持续更新 #49

MarkShawn2020 opened this issue Jul 22, 2024 · 0 comments

Comments

@MarkShawn2020
Copy link
Member

preparation

  1. package.json 中的 name 要和 build 中 appId 的名字保持一致,see: ERR_ELECTRON_BUILDER_CANNOT_EXECUTE electron-userland/electron-builder#5134 (comment)
  2. 要开启 app 权限,see: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE electron-userland/electron-builder#5431 (comment)

qrcode-terminal octal

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

@MarkShawn2020 MarkShawn2020 reopened this Jul 22, 2024
@MarkShawn2020 MarkShawn2020 changed the title electron build electron build 持续更新 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant