diff --git a/lib b/lib new file mode 160000 index 0000000..cb67de3 --- /dev/null +++ b/lib @@ -0,0 +1 @@ +Subproject commit cb67de3a40ad28236ebc7941a4c108748c734d11 diff --git a/main.js b/main.js index 4a8b30d..ee649b4 100644 --- a/main.js +++ b/main.js @@ -1,6 +1,6 @@ const { app, BrowserWindow, ipcMain } = require('electron') -const echo = require('echomodlib') +const echo = require('./lib/index') require('dotenv').config() const dev = (process.env.NODE_ENV === 'development') diff --git a/view/main/renderer.js b/view/main/renderer.js index 73fb67d..8370ad4 100644 --- a/view/main/renderer.js +++ b/view/main/renderer.js @@ -55,6 +55,7 @@ window.addEventListener('DOMContentLoaded', () => { value: '', type: 'input', }).then((response) => { + console.log(response) const body = document.querySelector('#body'); body && (body.style.cursor = 'progress'); ipcRenderer.send('find-ip', response); diff --git a/view/settings/index.html b/view/settings/index.html index da32b78..e3183f8 100644 --- a/view/settings/index.html +++ b/view/settings/index.html @@ -17,7 +17,8 @@ -