diff --git a/installer/win/Symphony-x64.aip b/installer/win/Symphony-x64.aip index ea740ada..45eac0ac 100644 --- a/installer/win/Symphony-x64.aip +++ b/installer/win/Symphony-x64.aip @@ -43,16 +43,27 @@ + + + + + + + + + + + @@ -60,6 +71,7 @@ + @@ -102,28 +114,36 @@ + + + + - + + + + + @@ -170,7 +190,10 @@ + + + @@ -183,6 +206,7 @@ + @@ -197,6 +221,11 @@ + + + + + @@ -213,6 +242,8 @@ + + @@ -228,10 +259,12 @@ + + - + diff --git a/js/preload/preloadMain.js b/js/preload/preloadMain.js index 3f248d1b..d5a8316b 100644 --- a/js/preload/preloadMain.js +++ b/js/preload/preloadMain.js @@ -26,26 +26,26 @@ require('../downloadManager'); // so loading the spellchecker in try catch so that we don't // block other method from loading document.addEventListener('DOMContentLoaded', () => { - //loadSpellChecker(); + loadSpellChecker(); }); /** * Loads up the spell checker module */ -// function loadSpellChecker() { -// try { -// /* eslint-disable global-require */ -// const SpellCheckerHelper = require('../spellChecker').SpellCheckHelper; -// /* eslint-enable global-require */ -// // Method to initialize spell checker -// const spellChecker = new SpellCheckerHelper(); -// spellChecker.initializeSpellChecker(); -// } catch (err) { -// /* eslint-disable no-console */ -// console.error('unable to load the spell checker module, hence, skipping the spell check feature ' + err); -// /* eslint-enable no-console */ -// } -// } +function loadSpellChecker() { + try { + /* eslint-disable global-require */ + const SpellCheckerHelper = require('../spellChecker').SpellCheckHelper; + /* eslint-enable global-require */ + // Method to initialize spell checker + const spellChecker = new SpellCheckerHelper(); + spellChecker.initializeSpellChecker(); + } catch (err) { + /* eslint-disable no-console */ + console.error('unable to load the spell checker module, hence, skipping the spell check feature ' + err); + /* eslint-enable no-console */ + } +} // hold ref so doesn't get GC'ed const local = { diff --git a/package.json b/package.json index 23209abb..1ccb4ba3 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,8 @@ "async.mapseries": "^0.5.2", "auto-launch": "^5.0.1", "electron-dl": "^1.9.0", - "electron-log": "^2.2.7", + "electron-log": "^2.2.7", + "electron-spellchecker": "^1.1.2", "electron-squirrel-startup": "^1.0.0", "filesize": "^3.5.10", "keymirror": "0.1.1",