Open panaC opened 1 day ago
https://github.com/edrlab/mupdf.js
https://web.dev/articles/what-is-webassembly#asmjs https://web.dev/articles/emscripting-a-c-library https://emscripten.org/docs/tools_reference/settings_reference.html#wasm
https://github.com/edrlab/mupdf.js/blob/928cad2fcf7db5e3bd46070f140a2713f873bb86/build.sh#L27
TODO next step : need to compile to .wasm and try to load it from scratch with this example
Note: Make sure that your .wasm files have Content-Type: application/wasm. Otherwise they will be rejected by WebAssembly.
https://github.com/edrlab/thorium-reader/blob/57a79dda7bc83fbbfdae5b1b3e33887212eb3a40/src/main/redux/sagas/app.ts#L163
https://www.electronjs.org/docs/latest/api/protocol#protocolregisterfileprotocolscheme-handler-deprecated
https://github.com/edrlab/mupdf.js
https://web.dev/articles/what-is-webassembly#asmjs https://web.dev/articles/emscripting-a-c-library https://emscripten.org/docs/tools_reference/settings_reference.html#wasm
https://github.com/edrlab/mupdf.js/blob/928cad2fcf7db5e3bd46070f140a2713f873bb86/build.sh#L27