Closed terrablue closed 3 months ago
I need this asap!
For more info, see https://github.com/oven-sh/bun/issues/11732
Hey man! Tried on MacOS darwin arm64. Works🍻
Awesome work!
it's fixed?
@ralyodio this hasn't been merged, so it's not solved yet in this tree. However the maintainer is free to add the code to this repo.
In the meanwhile, I've moved on to created a unified solution for bun, deno and node at https://github.com/rcompat/rcompat/issues/25, so I won't be working exclusively on a bun-specific solution anymore.
Thanks for the contribution but it looks like it isn't a cross platform solution.
Hi, this pull request allows you to compile apps with
webview-bun
by embedding the library directly into the app.This only works if the import is statically analyzable during compilation, which hasn't been the case thus far. I solved this by creating a symlink to the downloaded library that is called the same way on every platform.
Not tested on Mac/Windows.
This solves #6.