feat: implement linter with config file

This commit is contained in:
MasterAcnolo
2026-09-13 12:06:33 +02:00
parent 8af5a4a383
commit 58b6637eeb
8 changed files with 1127 additions and 16 deletions

View File

@@ -118,11 +118,11 @@ function registerIpcHandlers(getMainWindow) {
ipcMain.on("window-minimize", () => {
// Minimize to tray
if (configFeatures.systemTray) {
getMainWindow()?.hide()
getMainWindow()?.hide();
logger.info("Window Minimized in SystemTray (Using Minimize Button)");
} else {
// Native minimize
getMainWindow()?.minimize()
getMainWindow()?.minimize();
logger.info("Window minimized normally");
}
}
@@ -210,7 +210,7 @@ function registerIpcHandlers(getMainWindow) {
*/
ipcMain.handle("send-report", async (_, params) => {
return await sendReport(params);
})
});
/**
* Updates a runtime feature flag and persists it to disk.