node-sqlcipher icon indicating copy to clipboard operation
node-sqlcipher copied to clipboard

Webpack sqlcigher for difference system on macos

Open dlliu114 opened this issue 4 years ago • 3 comments

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?

dlliu114 avatar Jan 12 '22 02:01 dlliu114

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

rkistner avatar Jan 12 '22 08:01 rkistner

Thank you very much

dlliu114 avatar Mar 29 '22 08:03 dlliu114

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?

dlliu114 avatar Nov 09 '22 06:11 dlliu114