Freenove / Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi

Apply to FNK0043
Other
133 stars 148 forks source link

setup_windows.py was overwritten with linux version #55

Open gkarsai opened 4 months ago

gkarsai commented 4 months ago

setup_windows.py now contains linux code (e.g. sudo....) - it was overwritten in 2022?

fire-eggs commented 4 months ago

Yup, that's what it looks like to me. Overwritten on August 9, 2023.

Even the previous version is a little messed up, e.g. the message Please run 'sudo python setup_windows.py' again.

The previous version also is inconsistent with respect to the python version (a mix of python and python3 commands).

Looking at the other changes in that August 9, 2023 commit, it appears the goal for setup files was to add additional messaging for error handling. So I'd try the previous version, keeping the above issues in mind.