Skip to content

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
zyr17 committed Mar 12, 2024
1 parent 10b44bb commit e451884
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 @@ -32,7 +32,7 @@ const metadata_fetch_delay = 1000; // ms to delay after fetching metadata

if (InMacOS) {
// let cwd = app.getPath('exe').replace(/\/[^\/]+$/, '');
let cwd = app.getAppPath();
let cwd = '~/Library/Application Support/MajsoulPaipuAnalyzer/';
console.log('current dir: ' + cwd);
dataPath = cwd + '/' + dataPath;
}
Expand Down

0 comments on commit e451884

Please sign in to comment.