mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 17:03:47 +01:00
feat: updates
This commit is contained in:
parent
a8fce54e97
commit
d8bf27f288
@ -23,7 +23,7 @@ const registerPreferencesIpc = require('./ipc/preferences');
|
||||
const Watcher = require('./app/watcher');
|
||||
const { loadWindowState, saveBounds, saveMaximized } = require('./utils/window');
|
||||
const registerNotificationsIpc = require('./ipc/notifications');
|
||||
const registerCommonIpc = require('./ipc/common');
|
||||
const registerGlobalEnvironmentsIpc = require('./ipc/globalEnvironments');
|
||||
|
||||
const lastOpenedCollections = new LastOpenedCollections();
|
||||
|
||||
@ -144,7 +144,7 @@ app.on('ready', async () => {
|
||||
|
||||
// register all ipc handlers
|
||||
registerNetworkIpc(mainWindow);
|
||||
registerCommonIpc(mainWindow);
|
||||
registerGlobalEnvironmentsIpc(mainWindow);
|
||||
registerCollectionsIpc(mainWindow, watcher, lastOpenedCollections);
|
||||
registerPreferencesIpc(mainWindow, watcher, lastOpenedCollections);
|
||||
registerNotificationsIpc(mainWindow, watcher);
|
||||
|
@ -2,7 +2,7 @@ require('dotenv').config();
|
||||
const { ipcMain } = require('electron');
|
||||
const { globalEnvironmentsStore } = require('../store/global-environments');
|
||||
|
||||
const registerCommonIpc = (mainWindow) => {
|
||||
const registerGlobalEnvironmentsIpc = (mainWindow) => {
|
||||
|
||||
// GLOBAL ENVIRONMENTS
|
||||
|
||||
@ -47,4 +47,4 @@ const registerCommonIpc = (mainWindow) => {
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = registerCommonIpc;
|
||||
module.exports = registerGlobalEnvironmentsIpc;
|
Loading…
Reference in New Issue
Block a user