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

Webpack sqlcigher for difference system on macos #96

Open
dlliu114 opened this issue Jan 12, 2022 · 3 comments
Open

Webpack sqlcigher for difference system on macos #96

dlliu114 opened this issue Jan 12, 2022 · 3 comments

Comments

@dlliu114
Copy link

5.3.0 version change:Don't fallback to building from source。
On macos M1 i want to webpack package for arm64 or darwin or linux or window,But when I use 5.3.1, webpack electron,it cannot fallback to build source, only download darwin x64. I want to known darwin x64 can be used for installaton package on difference system? Or i should rebuild sqlcigher for difference system?

@rkistner
Copy link
Member

You don't need to rebuild anything, but you do need to download the correct pre-built binaries.

You can that by running a command like this in node_modules/@journeyapps/sqlcipher:

npm run install -- --target_arch=arm64 --target_platform=win32

@dlliu114
Copy link
Author

Thank you very much

@dlliu114
Copy link
Author

dlliu114 commented Nov 9, 2022

You don't need to rebuild anything, but you do need to download the correct pre-built binaries.

You can that by running a command like this in node_modules/@journeyapps/sqlcipher:

npm run install -- --target_arch=arm64 --target_platform=win32

I want to webpack package for arm64 on linux ,But when I use 5.3.1, webpack electron,it cannot build source。 can you provide this package?

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

2 participants