summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/logging.ts
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared/logging.ts')
-rw-r--r--gui/src/shared/logging.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/shared/logging.ts b/gui/src/shared/logging.ts
index d06abca4fe..4c0af38334 100644
--- a/gui/src/shared/logging.ts
+++ b/gui/src/shared/logging.ts
@@ -15,7 +15,7 @@ export function getLogsDirectory() {
switch (process.platform) {
case 'darwin':
// macOS: ~/Library/Logs/{appname}
- return path.join(theApp.getPath('home'), 'Library/Logs', theApp.getName());
+ return path.join(theApp.getPath('home'), 'Library/Logs', theApp.name);
default:
// Windows: %LOCALAPPDATA%\{appname}\logs
// Linux: ~/.config/{appname}/logs