mirror of https://github.com/CrimsonTome/tldr.git
20 lines
339 B
Markdown
20 lines
339 B
Markdown
|
# asar
|
||
|
|
||
|
> A file archiver for the Electron platform.
|
||
|
|
||
|
- Archive a file or folder:
|
||
|
|
||
|
`asar pack {{path/to/file}} {{archived.asar}}`
|
||
|
|
||
|
- Extract an archive:
|
||
|
|
||
|
`asar extract {{archived.asar}}`
|
||
|
|
||
|
- Extract a specific file from an archive:
|
||
|
|
||
|
`asar extract-file {{archived.asar}} {{file}}`
|
||
|
|
||
|
- List files of an archive:
|
||
|
|
||
|
`asar list {{archived.asar}}`
|