diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index eba93cc1af..0d0615fd8a 100644 --- a/ElectronClient/app/app.js +++ b/ElectronClient/app/app.js @@ -1,3 +1,5 @@ +require('app-module-path').addPath(__dirname); + const { BaseApplication } = require('lib/BaseApplication'); const { FoldersScreenUtils } = require('lib/folders-screen-utils.js'); const { Setting } = require('lib/models/setting.js'); diff --git a/ElectronClient/app/html-app.js b/ElectronClient/app/html-app.js new file mode 100644 index 0000000000..b1e661f86d --- /dev/null +++ b/ElectronClient/app/html-app.js @@ -0,0 +1,2 @@ +require('app-module-path').addPath(__dirname); +const app = require('./app.js').app; \ No newline at end of file diff --git a/ElectronClient/app/index.html b/ElectronClient/app/index.html index 8d710f08e6..d1c33c9475 100644 --- a/ElectronClient/app/index.html +++ b/ElectronClient/app/index.html @@ -3,11 +3,15 @@