Closed 0507spc closed 2 years ago
Hi,
That's an interesting question. For differents reasons, the shortcuts are running in a separate directory, ~shortcuts
or $GROUP
. So the shortcut is not finding the command. You can copy it to ~shortcuts/bin
or even to ~shortcuts
if you call it with wasm ~shortcuts/command
or wasm command
.
I tried most of that, here is an example, I assume I am missing something:
Oh, sorry ! I forgot that webAssembly execution is done through Apple's own webAssembly engine (it's pretty efficient), so webAssembly is only available for shortcuts runnin in app, not for shortcuts running in extension.
Thanks for the time taken to reply, appreciate it. I wasn't sure if I was doing something wrong, I can change my flow, so no issues. Thanks again. :-)
Realised I posted in the wrong repo too. Sorry about that.
I have added commands to A-Shell but when I try to run in shortcuts I get the following:
"wasm: command not found"
I tried copying to bin, running with ./bin/command.wasm ~/Documents/bin
but nothing works, is this possible?