Error handling
This commit is contained in:
@@ -434,6 +434,10 @@ ipcMain.on(Constants.IPC_Set_Config_Values, (event, data) => {
|
||||
setConfigValue(0);
|
||||
});
|
||||
|
||||
ipcMain.on(Constants.IPC_Shutdown, () => {
|
||||
app.quit();
|
||||
});
|
||||
|
||||
ipcMain.on(Constants.IPC_Unmount_Drive, (event, data) => {
|
||||
helpers
|
||||
.stopProcessByPID(data.PID)
|
||||
|
||||
Reference in New Issue
Block a user