mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
chore: renamed file
This commit is contained in:
parent
43b9412ddb
commit
b70bbf78b1
@ -7,7 +7,7 @@ const { setContentSecurityPolicy } = require('electron-util');
|
||||
const menuTemplate = require('./app/menu-template');
|
||||
const LastOpenedCollections = require('./app/last-opened-collections');
|
||||
const registerNetworkIpc = require('./ipc/network');
|
||||
const registerLocalCollectionsIpc = require('./ipc/local-collection');
|
||||
const registerCollectionsIpc = require('./ipc/collection');
|
||||
const Watcher = require('./app/watcher');
|
||||
|
||||
const lastOpenedCollections = new LastOpenedCollections();
|
||||
@ -52,7 +52,7 @@ app.on('ready', async () => {
|
||||
|
||||
// register all ipc handlers
|
||||
registerNetworkIpc(mainWindow, watcher, lastOpenedCollections);
|
||||
registerLocalCollectionsIpc(mainWindow, watcher, lastOpenedCollections);
|
||||
registerCollectionsIpc(mainWindow, watcher, lastOpenedCollections);
|
||||
});
|
||||
|
||||
// Quit the app once all windows are closed
|
||||
|
@ -421,9 +421,9 @@ const registerMainEventHandlers = (mainWindow, watcher, lastOpenedCollections) =
|
||||
|
||||
}
|
||||
|
||||
const registerLocalCollectionsIpc = (mainWindow, watcher, lastOpenedCollections) => {
|
||||
const registerCollectionsIpc = (mainWindow, watcher, lastOpenedCollections) => {
|
||||
registerRendererEventHandlers(mainWindow, watcher, lastOpenedCollections);
|
||||
registerMainEventHandlers(mainWindow, watcher, lastOpenedCollections);
|
||||
}
|
||||
|
||||
module.exports = registerLocalCollectionsIpc;
|
||||
module.exports = registerCollectionsIpc;
|
||||
|
Loading…
Reference in New Issue
Block a user