Reformat.

This commit is contained in:
Patrick Fic
2025-03-21 11:41:42 -07:00
parent 14e7c64eab
commit d14137dc44
34 changed files with 380 additions and 339 deletions

View File

@@ -27,7 +27,7 @@ const logIpcMessages = (): void => {
`%c[IPC Main]%c${messageType}`,
"color: red",
"color: green",
payload
payload,
);
// Call original handler if it existed
if (originalHandler) {
@@ -38,7 +38,7 @@ const logIpcMessages = (): void => {
};
ipcMain.on(ipcTypes.toMain.test, () =>
console.log("** Verify that ipcMain is loaded and working.")
console.log("** Verify that ipcMain is loaded and working."),
);
//Auth handler
@@ -67,15 +67,15 @@ if (import.meta.env.DEV) {
//Settings Handlers
ipcMain.handle(
ipcTypes.toMain.settings.filepaths.get,
SettingsWatchedFilePathsGet
SettingsWatchedFilePathsGet,
);
ipcMain.handle(
ipcTypes.toMain.settings.filepaths.add,
SettingsWatchedFilePathsAdd
SettingsWatchedFilePathsAdd,
);
ipcMain.handle(
ipcTypes.toMain.settings.filepaths.remove,
SettingsWatchedFilePathsRemove
SettingsWatchedFilePathsRemove,
);
//Watcher Handlers