From d35bd7906bfe3402797c58147ebc60c700645528 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 4 Nov 2017 13:31:51 +0000 Subject: [PATCH] Started bridge between backend and frontend --- ElectronClient/app/app.js | 2 ++ ElectronClient/app/html-app.js | 2 ++ ElectronClient/app/index.html | 4 ++++ 3 files changed, 8 insertions(+) create mode 100644 ElectronClient/app/html-app.js diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index eba93cc1a..0d0615fd8 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 000000000..b1e661f86 --- /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 8d710f08e..d1c33c947 100644 --- a/ElectronClient/app/index.html +++ b/ElectronClient/app/index.html @@ -3,11 +3,15 @@ Hello World! +

Hello World!

We are using node , Chrome , and Electron . +