holzschu / a-Shell-commands

shell commands, pre-compiled to webAssembly, ready to use in a-Shell
554 stars 21 forks source link

Adding 7-zip #41

Open CarlGao4 opened 9 months ago

HeavySnowJakarta commented 8 months ago

see the doc https://bianshen00009.gitbook.io/a-guide-to-a-shell/lets-do-more-for-it/before-the-hard-part

adam-jan-82 commented 3 months ago

I have tried using 7z WASM from this project: https://github.com/use-strict/7z-wasm Downloaded the 7zz.wasm file and moved it into ~/Documents/bin. The package is detected (no "Command not found" message when executing 7zz commands), but fails to do anything. Tried these commands without success: 7zz a output.7z input.txt 7zz e archive.zip

@holzschu do you have any idea why it does not working? Could 7zip from this project be somehow added to a-Shell-commands ?

CarlGao4 commented 3 months ago

Because wasm built for a-Shell should be built with the compiler specially edited

HeavySnowJakarta commented 3 months ago

I have tried using 7z WASM from this project: https://github.com/use-strict/7z-wasm Downloaded the 7zz.wasm file and moved it into ~/Documents/bin. The package is detected (no "Command not found" message when executing 7zz commands), but fails to do anything. Tried these commands without success: 7zz a output.7z input.txt 7zz e archive.zip

@holzschu do you have any idea why it does not working? Could 7zip from this project be somehow added to a-Shell-commands ?

let's try if it works with https://github.com/holzschu/wasi-sdk