holzschu / a-shell

A terminal for iOS, with multiple windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wasi preopens?

xdBronch opened this issue · comments

is it currently possible to pass custom preopens when running wasm files? if not is there any possibility of this? some programs expect specific preopens to be present which means they dont work in a-shell

The file that loads wasm files is $APPDIR/wasm.html, which loads $APPDIR/require.js and $APPDIR/wasm.js.

You can customize loading webAssembly files if you want, by copying wasm.js to your home directory and editing it to your desires, then executing it with jsc wasm.js.

Let me know if you require more assistance.

thanks i didnt realize you could do that, i think thats good enough