blob: f6618556d14b7e520a183a16650d05e2df68b114 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -ura package.orig/src/scripts/spellChecking.js package.new/src/scripts/spellChecking.js
--- package.orig/src/scripts/spellChecking.js 2020-02-11 13:55:00.000000000 +0100
+++ package.new/src/scripts/spellChecking.js 2020-02-11 15:52:41.031198167 +0100
@@ -140,11 +140,7 @@
await provider.initialize();
- const appDirectoriesPath = path.join(
- remote.app.getAppPath(),
- remote.app.getAppPath().endsWith('app.asar') ? '..' : '.',
- 'dictionaries',
- );
+ const appDirectoriesPath = '/usr/share/hunspell';
const appDictionaries = await getPairsOfDictionaryFiles(appDirectoriesPath);
|