Skip to content

Commit

Permalink
fix wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
flameshikari committed Aug 31, 2023
1 parent 53a95ea commit 8e6f19f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions resources/utilities/add_icons_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@
drawable = icon[0]
compinfos = ' '.join(icon[1])
command = f'python {target_script} -P {delta_dir} -raidI -n {drawable}'
if compinfos: command += f' -c {compinfos}'
else:
if compinfos:
command += f' -c {compinfos}'
if drawable.startswith('google_'): command += f' -C Google'
else: command += f' -C Alts'
else:
command += f' -C Alts'
print(f'> {drawable}')
execute(command)
if not icons[-1][0] == drawable: print()
Expand Down

0 comments on commit 8e6f19f

Please sign in to comment.