mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-23 03:23:05 +00:00
#119 start
This commit is contained in:
parent
b375e4f639
commit
7b992267f5
2 changed files with 5 additions and 1 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "webtools-ng",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue