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);