This commit is contained in:
Tommy Mikkelsen 2020-08-30 22:12:58 +02:00
parent b375e4f639
commit 7b992267f5
2 changed files with 5 additions and 1 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "webtools-ng",
"version": "0.1.1",
"version": "0.1.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -95,6 +95,10 @@ const wtutils = new class WTUtils {
{
localHome = __dirname.replace('node_modules\\electron\\dist\\resources\\electron.asar\\renderer', 'public/locales');
}
else if (wtutils.isMac)
{
console.log('Ged MAC dir: ' + __dirname)
}
else
{
localHome = __dirname.replace('node_modules/electron/dist/resources/electron.asar/renderer', 'public/locales');