Skip to content

Commit

Permalink
Moved the cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 29, 2024
1 parent 5b79ef7 commit 0f90063
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { parseArgs } from 'node:util';
import { inject } from 'postject';
import { extract } from 'tar';
import AdmZip from 'adm-zip';
import { homedir } from 'node:os';

const { values: options, positionals } = parseArgs({
options: {
Expand All @@ -20,7 +21,7 @@ const { values: options, positionals } = parseArgs({
allowPositionals: true,
});

const tempDir = '/tmp/xsea';
const tempDir = join(homedir(), '.cache/xsea');

const _log = (...text: any[]) => options.verbose && console.log('[debug]', ...text);

Expand Down

0 comments on commit 0f90063

Please sign in to comment.