Changed checkboxvalues and added more error catching

This commit is contained in:
2025-12-09 14:38:26 +01:00
parent 5e6b700c36
commit f817d4c29e
3 changed files with 38 additions and 10 deletions
+13 -1
View File
@@ -18,7 +18,19 @@ try {
ipcRenderer.on("progress", (event, resp) => {
alert(`Finished step ${resp.curstep} of ${resp.totalsteps}`)
try{
if(resp.curstep == 1){
setCircleOne();
}else if(resp.curstep == 2){
setCircleZwo();
}else if(resp.curstep == 3){
setCircleThree();
}else if(resp.curstep == 4){
setCircleFour();
}
}catch(error){
}
})
ipcRenderer.on("error", (event, err) => {alert(err)})