OSDN Git Service

repath the bytomd data path.
authorZhiting Lin <zlin035@uottawa.ca>
Sun, 30 Sep 2018 02:38:23 +0000 (10:38 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Sun, 30 Sep 2018 02:38:23 +0000 (10:38 +0800)
modules/settings.js

index 508f7b5..7c52092 100644 (file)
@@ -47,7 +47,7 @@ class Settings {
         bytomdDataPath = `${app.getPath('appData')}/Bytom`
         break
       case 'darwin':
-        bytomdDataPath = `${app.getPath('home')}/Library/Bytom`
+        bytomdDataPath = `${app.getPath('home')}/Library/Application Support/Bytom`
         break
       case 'linux':
         bytomdDataPath = `${app.getPath('home')}/.bytom`