-
Notifications
You must be signed in to change notification settings - Fork 365
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
usage of javascript/node to allow cross-platform building #5825
base: x
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
PR总结
|
Thanks for your contribution @Osiris-Team But we're not planning to introduce Python scripts into the project, you can consider converting the Python scripts to Node scripts. |
Oh yeah that makes sense, didn't think about that! |
Thanks for your contribution @Osiris-Team. but development/scripts/copy_injected.js is still a python file. Maybe you can make modifications based on this draft PR #5830 |
my bad forgot to copy over, fixed |
@@ -11,9 +11,10 @@ | |||
"node": ">=20" | |||
}, | |||
"scripts": { | |||
"setup:env": "bash -c 'if [ ! -f .env ]; then cp .env.example .env; fi'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to write it like this?
"setup:env": "node -e \"const fs=require('fs');if(!fs.existsSync('.env'))fs.copyFileSync('.env.example','.env');\"",
and apps/desktop/dist/build_keytar.sh need to be fixed. After all the files have been modified, I will help you package and test it. |
At the current state the build fails when following the simple instructions in the README on Windows.
This fixes it.