Thomas Dao
Thomas Dao
I did a bit more debugging, and I believe the issue is at this function: ```js function resolveFile (prebuilds) { // Find most specific flavor first console.log('resolveFile', prebuilds) var parsed...
I log `import.meta.url` on both Macbook Pro and Macbook Air and this variable is the same absolute path. Is it possible that Webpack translates this variable to an absolute string?...
I saw this issue https://github.com/webpack/webpack/issues/14445 which states that by default `import.meta.url is replaced by the current file location at the build time.`. This can be disabled in Webpack by adding...
@kriszyp I managed to patch `lmdb/native.js` and `node-gyp-build-optional-packages/index.js` file to point directly to the `@lmdb` folder inside the Electron `asar` file, and now the app can run in both of...
For Windows and Linux, the current approach works fine, however for Mac, Electron app needs to be built in universal format to support both Intel and ARM architecture when release...
I tried `node ./bin/download-prebuilds.js` but have this error `/bin/sh: download-msgpackr-prebuilds: command not found`. I don't know how to setup `download-msgpackr-prebuilds` command. I go to the `node_modules/lmdb` and run `yarn recompile`...
Thanks for the clarification. I found a strange issue - when I run `yarn recompile` to produce binary in `build/Release` or `prebuildify` to produce binary in `prebuilds` folder, both with...
Update: I was able to build the universal app for both arm64 and x64 architecture! I've tested in both M1 and Intel computer and they work great! Then I've code-signed...
@kriszyp although I haven't received any reply from Apple yet, I believe in order for mmap to work in sandboxed or hardened runtime Mac app, it must include the flag...
I added `mm_flags |= MAP_JIT;` in the `mdb.c` file and recompile again, and the app now crashes both locally and in TestFlight :( I must admit that I have no...