removed the Resources path

This commit is contained in:
Keerthi Niranjan 2017-08-01 18:35:51 +05:30 committed by Keerthi Niranjan
parent 48c669a6ab
commit bde2257748

View File

@ -102,7 +102,7 @@ class Search {
readJson(batch) {
return new Promise((resolve, reject) => {
let dirPath = path.join(execPath, isMac ? '..' : '', 'Resources/msgsjson', batch);
let dirPath = path.join(execPath, isMac ? '..' : '', 'msgsjson', batch);
let messageFolderPath = isDevEnv ? path.join('./msgsjson', batch) : dirPath;
let files = fs.readdirSync(messageFolderPath);
let messageData = [];