Ralim / IronOS-Meta

Storing meta information about devices that dont need to be in the main repo
54 stars 10 forks source link

Make `-m MODEL` argument compatible with the main IronOS project build files & configs (+unify code style a bit) #40

Closed ia closed 10 months ago

ia commented 10 months ago

Hello. As user who came here from the IronOS project and as quite lazy person, I would like not to twist my head figuring out the proper input argument for a model of device. :)

However, currently img2logo.py script is not compatible with input model arguments such as TS80 / TS80P / S60 / etc. which is used in IronOS build system to specify a device[^1]. Hence, this patch eliminates the need to read & figure out source code to provide a device model properly depending on which model user has. At the same time, the patch keeps the compatibility with already implemented model input arguments not to break scripts/tools of other users.

I tested this changes locally a bit and it seems working. As always, let me know what you think.

[^1]: Help output from the script doesn't provide the proper list of the exact supported models also :(