Mino260806 / miwtool

A tool for manipulating Redmi Watch 2 Lite watchface files
GNU General Public License v3.0
35 stars 8 forks source link

scripts for wf encoding-decoding #11

Open Domenick90 opened 1 year ago

Domenick90 commented 1 year ago

scripts for wf encoding-decoding for windows

Mino260806 commented 1 year ago

I feel these files are just cumbersome, I don't see that much of a difference between typing python main.py -d and unpack. Between you hardcoded the path to main.py in your computer

Domenick90 commented 1 year ago

I feel these files are just cumbersome, I don't see that much of a difference between typing python main.py -d and unpack. Between you hardcoded the path to main.py in your computer

python main.py -d path\to\inputfule - this command unpack WatchFace to current directory? This version 1 for scripts, maybe in the future i can get rid of hardcode paths...

Mino260806 commented 1 year ago

version 1 for scripts, maybe in the future i can get rid of hardcode paths...

You must fix it, it only works for your computer otherwise

Domenick90 commented 1 year ago

Fixed scrits without hardcode paths.

Mino260806 commented 1 year ago

Can you renamed the "encoding-decoding" directory to a more common name like "bin" ?

Domenick90 commented 1 year ago

Can you renamed the "encoding-decoding" directory to a more common name like "bin" ?

done!

Mino260806 commented 1 year ago

Thank you for your contribution! Unfortunately I think it will be a real mess and will need a script for every feature added. If you really want to add something like this, why don't you create one single file called "miwtool.bat" which just redirects the arguments to the main python script. That way it will be much easier and more organized.