Remove alpha patch python script

This commit is contained in:
Bnyro 2023-01-02 18:30:11 +01:00 committed by GitHub
parent 11a5accafa
commit 01fd6b78e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
.github/patch.py vendored
View File

@ -1,10 +0,0 @@
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")