diff --git a/app/main.js b/app/main.js index be7a0224b..5271bac4f 100644 --- a/app/main.js +++ b/app/main.js @@ -1,3 +1,4 @@ +module.exports = { safeQuit }; // Module imports const {app, BrowserWindow, ipcMain, Menu, Tray, globalShortcut} = require('electron'); const path = require('path'); @@ -553,6 +554,4 @@ ipcMain.on('get-auth-token', (event) => { ipcMain.on('set-auth-token', (event, token) => { keytar.setPassword("LBRY", "auth_token", token ? token.toString().trim() : null); -}); - -module.exports = { safeQuit }; \ No newline at end of file +}); \ No newline at end of file diff --git a/app/menu/main-menu.js b/app/menu/main-menu.js index 93251992e..147ab60b4 100644 --- a/app/menu/main-menu.js +++ b/app/menu/main-menu.js @@ -1,6 +1,5 @@ const { app, shell, Menu } = require('electron'); -const { safeQuit } = require('../main.js') - +const { safeQuit } = require('../main.js'); const baseTemplate = [ {