layeh / asar

Package asar reads and writes ASAR (Atom-Shell Archive) archives for Go (golang)
https://godoc.org/layeh.com/asar
Mozilla Public License 2.0
19 stars 12 forks source link

add the extract command to the cli #4

Closed vrischmann closed 7 years ago

vrischmann commented 7 years ago

Hello,

thanks for this library and tool. This is a quick PR that adds the extract or x command to extract the archive to a directory.

I needed this right now and I'd rather write some Go code than have to install node on my Windows :)

ghost commented 7 years ago

Thanks for the feature. I had to make a couple of fixes before I pushed the change.

I needed this right now and I'd rather write some Go code than have to install node on my Windows :)

:+1:

vrischmann commented 7 years ago

Thanks ! I didn't realize you could get the data source with Sys(), that's good to know