h3xp / RickDangerousUpdate

This is a simple script that will help on fixing and improving a RickDangerous Insanium Build on a Retropie
16 stars 5 forks source link

Investigate error detection and potentially abort during unzipping of update files #194

Closed mrludo001 closed 1 year ago

mrludo001 commented 1 year ago

A user had some problems occur during the unzipping of several different update zip files. Errors were reported to the screen during this but the tool continued on.

The current code uses ...

subprocess.Popen(["/usr/bin/unzip", "-q", zip_file, "-d", dir_name])

mrludo001 commented 1 year ago

Revise to use poll and get exit code of the process

mrludo001 commented 1 year ago

Tested and released v2.7.5