exit app if init fails

This commit is contained in:
Mentor
2023-02-19 15:41:19 +01:00
parent c9981032be
commit 2149cd17ab

View File

@@ -231,6 +231,7 @@ const initialize_battery = async () => {
log( `Update/install error: `, e )
alert( `Error installing battery limiter: ${ e.message }` )
app.quit()
app.exit()
}
}