mirror of https://github.com/CrimsonTome/tldr.git
21 lines
423 B
Markdown
21 lines
423 B
Markdown
# asar
|
|
|
|
> A file archiver for the Electron platform.
|
|
> More information: <https://github.com/electron/asar>.
|
|
|
|
- Archive a file or directory:
|
|
|
|
`asar pack {{path/to/file_or_directory}} {{archived.asar}}`
|
|
|
|
- Extract an archive:
|
|
|
|
`asar extract {{archived.asar}}`
|
|
|
|
- Extract a specific file from an archive:
|
|
|
|
`asar extract-file {{archived.asar}} {{file}}`
|
|
|
|
- List the contents of an archive file:
|
|
|
|
`asar list {{archived.asar}}`
|