diff -ura package.orig/src/scripts/spellChecking.js package.new/src/scripts/spellChecking.js --- package.orig/src/scripts/spellChecking.js 2020-01-31 14:06:58.340723019 +0100 +++ package.new/src/scripts/spellChecking.js 2020-01-31 14:08:23.626144739 +0100 @@ -113,12 +113,7 @@ export const setupSpellChecking = async () => { const embeddedDictionaries = getAvailableDictionaries(); - dictionariesPath = path.join( - remote.app.getAppPath(), - remote.app.getAppPath().endsWith('app.asar') ? '..' : '.', - 'dictionaries', - ); - + dictionariesPath = '/usr/share/qt/qtwebengine_dictionaries' const installedDictionaries = (await fs.promises.readdir(dictionariesPath, { encoding: 'utf8' })) .filter((filename) => ['.bdic'].includes(path.extname(filename).toLowerCase())) .map((filename) => path.basename(filename, path.extname(filename)).replace(/-/, '_'))