Commit abb9f0dc by sikang

update script

parent 25dedb6a
# -*-coding:utf-8-*-
from tools.screen_maker import ScreenMaker
from PIL import Image
import random
import sys
import os
......@@ -394,6 +395,7 @@ class Function:
img_top = img_top.crop((0, (top_h - 500)/2, img_top.size[0], 500+(top_h - 500)/2))
img_logo.save("%s/app/src/main/res/drawable-xxhdpi/logo_majia.png"% config['root'],"PNG")
img_top.save("%s/app/src/main/res/drawable-xxhdpi/top.png"% config['root'],"PNG")
print("done")
#copy logo
def find_logo(self,config):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment