Skip to content

Commit 52d3447

Browse files
committed
ui
1 parent 7b6235b commit 52d3447

File tree

17 files changed

+159
-26
lines changed

17 files changed

+159
-26
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Common/Tool/ImageConvert.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ def JpgToPng(self):
106106
self.listFile = []
107107
self.ScanFiles(self.GetCurPath())
108108

109+
110+
111+
112+
109113

110114

111115
# 主函数的实现

ProjectConfig/.DS_Store

0 Bytes
Binary file not shown.

ProjectConfig/CmdDefault/.DS_Store

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
#! /bin/sh
3+
# 脚本文件的绝对路径存在了环境变量filepath中,可以用
4+
filepath=$(cd "$(dirname "$0")"; pwd)
5+
6+
# VMware 虚拟机共享目录里路径带空格 需要转换处理
7+
str1=$filepath
8+
str2="VMware"
9+
if [[ $str1 =~ $str2 ]]
10+
then
11+
echo "包含"
12+
#去除带空格的路径
13+
#filepath=${filepath// /\\ }
14+
filepath=${filepath#/Volumes/VMware Shared Folders/}
15+
cd /Volumes/VMware\ Shared\ Folders
16+
else
17+
echo "不包含"
18+
fi
19+
20+
21+
echo $filepath
22+
cd $filepath
23+
cd ../../../../../../../Common/PythonUnity/ProjectConfig/Script
24+
python3 SellMyApp/SellMyApp.py $filepath decode_umeng
25+
26+

ProjectConfig/Script/AppStore/AppStoreHuawei.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,18 +966,30 @@ def UpdateAppInfo(self, isHD):
966966
def GetImageScreenShot(self, isHD,lan,idx):
967967
pic_name = mainResource.GetOutPutScreenshotPathWin32(mainResource.GetProjectOutPut(), Source.TAPTAP, isHD) + "\\"+lan+"\\1080p\\"+str(idx+1)
968968
pic = pic_name+".webp"
969+
if Platform.isMacSystem():
970+
pic = pic.replace("\\","/")
971+
969972
if not os.path.exists(pic):
970973
pic = pic_name+".jpg"
971974

972975
return pic
973976

974977

978+
def GetCopyRight(self, isHD):
979+
pic = mainResource.GetOutPutCopyRightPathWin32(mainResource.GetProjectOutPut(), isHD)+"\\huawei.png"
980+
if not os.path.exists(pic):
981+
pic = mainResource.GetOutPutCopyRightPathWin32(mainResource.GetProjectOutPut(), isHD)+"\\Huawei.png"
982+
if Platform.isMacSystem():
983+
pic = pic.replace("\\","/")
984+
985+
return pic
986+
975987
def UploadScreenShot(self, isHD):
976988
appid = mainAppInfo.GetAppId(isHD, Source.HUAWEI)
977989
# mainHuaweiAppGalleryApi.DeleteLanuage(appid,"zh-CN")
978990
# return
979-
980-
pic = mainResource.GetOutPutCopyRightPathWin32(mainResource.GetProjectOutPut(), isHD)+"\\huawei.png"
991+
992+
pic = self.GetCopyRight(isHD)
981993
if os.path.exists(pic):
982994
mainHuaweiAppGalleryApi.UploadImageCopyRight(appid,pic)
983995
# return

ProjectConfig/Script/AppStore/AppStoreTaptap.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,13 @@ def GetItemOfScreenShot(self,lan):
346346

347347
def GetImageScreenShot(self, isHD,lan,idx):
348348
pic_name = mainResource.GetOutPutScreenshotPathWin32(mainResource.GetProjectOutPut(), Source.TAPTAP, isHD) + "\\"+lan+"\\1080p\\"+str(idx+1)
349-
pic = pic_name+".webp"
350-
if not os.path.exists(pic):
351-
pic = pic_name+".jpg"
349+
pic = pic_name+".jpg"
350+
351+
if Platform.isMacSystem():
352+
pic = pic.replace("\\","/")
353+
354+
# if not os.path.exists(pic):
355+
# pic = pic_name+".jpg"
352356

353357
return pic
354358

636 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)