I want to pack llama.cpp binary into the asar archive in electron. #513
Answered
by
giladgd
yoshizawashusei3128
asked this question in
Q&A
-
Is it even possible? |
Beta Was this translation helpful? Give feedback.
Answered by
giladgd
Oct 10, 2025
Replies: 1 comment
-
It's possible, but the prebuilt binaries need to be unpacked inside the asar archive to work in Electron. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giladgd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's possible, but the prebuilt binaries need to be unpacked inside the asar archive to work in Electron.
I recommend you to read the Using in Electron guide to learn more, and I also recommend you to scaffold a new Electron project using the
node-llama-cpp
CLI and use it as the base for your Electron app as it's already preconfigured with everything needed to usenode-llama-cpp
in Electron (including packing).