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 5399976 commit 10b44bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const metadata_query_step = 100; // How many uuids to query once. In test, 850 i
const metadata_fetch_delay = 1000; // ms to delay after fetching metadata

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

0 comments on commit 10b44bb

Please sign in to comment.