Closed vshymanskyy closed 4 years ago
Some ideas.
upload
command - this will just "upload" any file as is to the fsdrag'n'drop
or wapm upload
, copy the wasm file to fs (along with installing it)This is related to two issues:
/tmp
dir.The first issue is just fixed with the commit: https://github.com/wasmerio/wasmer-js/commit/c88101f5ab1d340b723ca76c55cfecee10d369c0
I will push a fix for 2.
now.
Then, we will publish a new version of WebAssembly.sh
Thanks for a quick response. You guys rock ;)
When working on https://wapm.io/package/vshymanskyy/wasm3 , I found that drag'n'dropping wasm files will just install the wasm file to wapm, but it seems that the file is not accessible through filesystem.
If I rename the file to
.bin
, the shell says it's available through/tmp/
, but I don't see it there usingls
. This is probably a bug.The only way to do it (for me), was using
curl
command as described in the Readme. But in this case the file has to be hosted somewhere.