Skip to content

Commit

Permalink
Support encryption in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
j4k0xb committed Jan 31, 2025
1 parent 2c91d08 commit 95e1fa5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/asarmor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ async function main() {
});
}

const asarmor = await open(options.archive);
const asarmor = await open(
options.encryption ? options.output : options.archive
);

if (options.restore) {
await asarmor.restoreBackup();
Expand Down

0 comments on commit 95e1fa5

Please sign in to comment.