Sun, 09 Apr 2023 15:59:08 +0300
Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.
I was planning to make the core logic and state of the program into a Main class, which would be a QObject that would
have lots of signals and slots, but it looks like this works even without it
6 | 1 | #!/bin/bash |
2 | for flag in *.svg | |
3 | do | |
4 | flag_png="${flag%.svg}.png" | |
5 | echo "$flag => $flag_png" | |
6 | inkscape -z -e ${flag_png} -w 64 $flag | |
7 | done |