mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 05:40:31 +05:30
10 lines
818 B
Python
10 lines
818 B
Python
from os import system
|
|
|
|
patchRes = ["mdpi", "hdpi", "xhdpi", "xxhdpi", "xxxhdpi"]
|
|
for res in patchRes:
|
|
system(f"rm -rf ../app/src/main/res/mipmap-{res}/ic_launcher.png")
|
|
system(f"rm -rf ../app/src/main/res/mipmap-{res}/ic_launcher_foreground.png")
|
|
system(f"rm -rf ../app/src/main/res/mipmap-{res}/ic_launcher_round.png")
|
|
system(f"curl https://libre-tube.github.io/alpha-patch/mipmap-{res}/ic_launcher.png --output ../app/src/main/res/mipmap-{res}/ic_launcher.png")
|
|
system(f"curl https://libre-tube.github.io/alpha-patch/mipmap-{res}/ic_launcher_foreground.png --output ../app/src/main/res/mipmap-{res}/ic_launcher_foreground.png")
|
|
system(f"curl https://libre-tube.github.io/alpha-patch/mipmap-{res}/ic_launcher_round.png --output ../app/src/main/res/mipmap-{res}/ic_launcher_round.png") |