修复 deepin 23 安装的 APK 无法正常在启动器显示图标的问题

This commit is contained in:
2024-01-29 19:17:20 +08:00
parent d385fdd64c
commit f82d767a19
15 changed files with 68 additions and 27 deletions

View File

@@ -313,7 +313,7 @@ def write_txt(path, things):
file.close() # 关闭文本对象
def GetApkInformation(apkFilePath):
return GetCommandReturn("aapt dump badging '{}'".format(apkFilePath))
return GetCommandReturn("'{}/aapt/run-aapt.sh' dump badging '{}'".format(programPath, apkFilePath))
def GetApkActivityName(apkFilePath):
info = GetApkInformation(apkFilePath)