diff -ura package.orig/src/preload/spellchecking.js package.new/src/preload/spellchecking.js --- package.orig/src/preload/spellchecking.js 2019-03-13 20:47:32.327586968 +0100 +++ package.new/src/preload/spellchecking.js 2019-03-13 20:59:36.190988478 +0100 @@ -22,7 +22,7 @@ async loadDictionaries() { const embeddedDictionaries = spellchecker.getAvailableDictionaries(); - const directory = jetpack.cwd(app.getAppPath(), app.getAppPath().endsWith('app.asar') ? '..' : '.', 'dictionaries'); + const directory = jetpack.cwd('/usr/share/hunspell'); const installedDictionaries = (await directory.findAsync({ matching: '*.{aff,dic}' })) .map((fileName) => path.basename(fileName, path.extname(fileName)));