a-Shell-commands icon indicating copy to clipboard operation
a-Shell-commands copied to clipboard

Adding 7-zip

Open CarlGao4 opened this issue 2 years ago • 4 comments

CarlGao4 avatar Oct 07 '23 02:10 CarlGao4

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

HeavySnowJakarta avatar Nov 09 '23 10:11 HeavySnowJakarta

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 ?

adam-jan-82 avatar Mar 18 '24 19:03 adam-jan-82

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

CarlGao4 avatar Mar 19 '24 00:03 CarlGao4

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

HeavySnowJakarta avatar Mar 19 '24 00:03 HeavySnowJakarta