diff options
author | 2018-12-07 13:47:00 +0100 | |
---|---|---|
committer | 2018-12-07 13:47:00 +0100 | |
commit | 0cdc165ace53019371fc126d8d76817f1f2ed027 (patch) | |
tree | 1c98c3e31258c29ff2f49b748b9df16a892f66e6 /src/config.js | |
parent | Bump version to b20 (diff) | |
download | ferdium-app-0cdc165ace53019371fc126d8d76817f1f2ed027.tar.gz ferdium-app-0cdc165ace53019371fc126d8d76817f1f2ed027.tar.zst ferdium-app-0cdc165ace53019371fc126d8d76817f1f2ed027.zip |
fix(Spellchecker): Dictionaries are now part of app instead of dynamic download
Diffstat (limited to 'src/config.js')
-rw-r--r-- | src/config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.js b/src/config.js index d981f9c6a..789ddd1a0 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -56,4 +56,5 @@ export const FILE_SYSTEM_SETTINGS_TYPES = [ | |||
56 | 56 | ||
57 | export const SETTINGS_PATH = path.join(app.getPath('userData'), 'config'); | 57 | export const SETTINGS_PATH = path.join(app.getPath('userData'), 'config'); |
58 | 58 | ||
59 | export const DICTIONARY_PATH = path.join(app.getPath('userData'), 'dicts'); | 59 | // Replacing app.asar is not beautiful but unforunately necessary |
60 | export const DICTIONARY_PATH = path.join(__dirname, 'dictionaries').replace('app.asar', 'app.asar.unpacked'); | ||