From: Zhiting Lin Date: Sun, 30 Sep 2018 02:38:23 +0000 (+0800) Subject: repath the bytomd data path. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1e931190e98e621d928e400ab8b6547938426817;p=bytom%2Fbytom-electron.git repath the bytomd data path. --- diff --git a/modules/settings.js b/modules/settings.js index 508f7b5..7c52092 100644 --- a/modules/settings.js +++ b/modules/settings.js @@ -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`