PinNaCode / magiskboot_build

unofficial magiskboot build system (and port) targeting multi-platform (does not require NDK)
Apache License 2.0
150 stars 23 forks source link

support running in browsers (with emscripten) #19

Open ghost opened 8 months ago

ghost commented 8 months ago

need a frontend wrapper, lets see when i can finish it (i have no idea about frontend things)

TODOs

ghost commented 6 months ago

im still trying to make this

ghost commented 6 months ago

currently web branch has staging support for running directly in desktop and mobile browsers

affggh commented 6 months ago

Is environment value available?

ghost commented 6 months ago

this wip port is now available on Cloudflare pages: https://magiskboot-build-wasm.pages.dev/

ghost commented 6 months ago

i will probably finish the file manager today EDIT: its generally working now (but with some minor issues, like currently the program runs in browser's main ui thread, which will cause freezes when doing heavy work, there is also some memory leaks...

so i guess i will keep this open until the bugs the support getting ready to merged into this main repo

ghost commented 6 months ago

so i guess i will keep this open until all these get resolved

the only reliable way seems to be using pthread or workers api, but im not familiar with js... (EDIT: currently using a hack with Asyncify to achieve real-time updating