Aritra Karak

Results 12 comments of Aritra Karak

Yes, it's a known limitation of bun compile. You can't really include .dll files. It just bundles the source code and the package is trying to find the dll relative...

Unfortunately there isn't any way yet to hide terminal unless bun fixes it or makes a way to do so.

Great! But I was thinking how about putting the dll in a common place so that it doesn't need to be embedded and multiple apps can use it. The binary...

~Embedding files through import attributes doesn't work when using dynamic `import()` function which is a bug in bun. Until then this issue will be kept open.~ UPDATE: It does work,...

> > Worked, thanks! I feel like it's a little out of the scope of this project, but any idea on how/if it's possible to hide the terminal window? I...

Added support in latest release.

@aryzing There is probably some missing linked library in your system. Did you check the Linux instructions [here](https://github.com/tr1ckydev/webview-bun?tab=readme-ov-file#installation)?

@aryzing Can you cd to `node_modules/webview-bun/build/` then run `ldd libwebview.so` and share the output?

Thanks for sharing and we have got the culprit! Read the first line of the output > ./libwebview.so: /lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by ./libwebview.so) This dependency is missing...

I see you haven't called `c.deinit()` anywhere in the above code which is the reason it leaks the memory. Report back if it does resolve the issue!