diff --git a/index.js b/index.js index acf8698..7003d46 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ const {app} = require('electron'); -const MainWindow = require("./MainWindow"); +const MainWindow = require("./modules/MainWindow"); console.log("Starting..."); app.on('ready', () => { diff --git a/ApplicationMenu.js b/modules/ApplicationMenu.js similarity index 100% rename from ApplicationMenu.js rename to modules/ApplicationMenu.js diff --git a/MainWindow.js b/modules/MainWindow.js similarity index 96% rename from MainWindow.js rename to modules/MainWindow.js index a7cdabe..da11d2a 100644 --- a/MainWindow.js +++ b/modules/MainWindow.js @@ -7,7 +7,7 @@ const electron = require('electron'); const BrowserWindow = electron.BrowserWindow; const {Menu, Tray} = require('electron'); -const Config = require("./Config"); +const Config = require("../Config"); const TrayMenu = require("./TrayMenu"); const ApplicationMenu = require("./ApplicationMenu"); diff --git a/TrayMenu.js b/modules/TrayMenu.js similarity index 100% rename from TrayMenu.js rename to modules/TrayMenu.js