summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/logging.ts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-01-24 13:45:58 +0100
committerAndrej Mihajlov <and@mullvad.net>2020-01-27 18:49:36 +0100
commit64abc0312b016e62d64f5be2a5b1f9eaaecd51de (patch)
tree5f1604f60c2ced4e4f02f5b698a85d14903f694c /gui/src/shared/logging.ts
parent989b58e5fcef66a0fa018ea3939653c9ed5a7367 (diff)
downloadmullvadvpn-64abc0312b016e62d64f5be2a5b1f9eaaecd51de.tar.xz
mullvadvpn-64abc0312b016e62d64f5be2a5b1f9eaaecd51de.zip
Fix deprecated Electron APIs
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