mirror of
https://github.com/actuallymentor/battery.git
synced 2026-02-03 14:03:24 +00:00
✨ exit app if init fails
This commit is contained in:
@@ -231,6 +231,7 @@ const initialize_battery = async () => {
|
||||
log( `Update/install error: `, e )
|
||||
alert( `Error installing battery limiter: ${ e.message }` )
|
||||
app.quit()
|
||||
app.exit()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user