Skip to content

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
zyr17 committed Mar 13, 2024
1 parent 4f95518 commit fc4910b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const metadata_fetch_delay = 1000; // ms to delay after fetching metadata

if (InMacOS) {
// let cwd = app.getPath('exe').replace(/\/[^\/]+$/, '');
let cwd = path(process.env.HOME, "Library", "Application Support", "MajsoulPaipuAnalyzer");
let cwd = process.env.HOME + "Library/Application Support/MajsoulPaipuAnalyzer";
console.log('current dir: ' + cwd);
dataPath = cwd + '/' + dataPath;
fs.mkdirSync(dataPath, { recursive: true });
Expand Down

0 comments on commit fc4910b

Please sign in to comment.