zenith391 / bw-launcher

Unofficial launcher for the Blocksworld video game
3 stars 1 forks source link

Find cause of this error #2

Closed korakoe closed 2 years ago

korakoe commented 2 years ago

I think it would be better if there was a way to keep it and see what actually causes the error and handle it.

Originally posted by @zenith391 in https://github.com/zenith391/bw-launcher/issues/1#issuecomment-1120168085

korakoe commented 2 years ago

image

korakoe commented 2 years ago

Needed to add a parseint, as for some reason its not already an int?

ipcRenderer.send("update-download", parseint(downloaded / length));