Skip to content

Commit

Permalink
Move properties out
Browse files Browse the repository at this point in the history
  • Loading branch information
AniketSK committed Jun 27, 2024
1 parent aabb323 commit 4a3e62c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion print_apk_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ def populateArchTableData():

def getSingleArchData(a):
s = archMaps[a]
return f"| {s.name} | **{sizeof_fmt(s.arm64v8a - subtractBy(s.name, "arm64-v8a"))}** | **{sizeof_fmt(s.armeabiv7a - subtractBy(s.name, "armeabi-v7a"))}** | **{sizeof_fmt(s.x86 - subtractBy(s.name, "x86"))}** | **{sizeof_fmt(s.x8664 - subtractBy(s.name, "x86_64"))}** |"
v8a = sizeof_fmt(s.arm64v8a - subtractBy(s.name, "arm64-v8a"))
v7a = sizeof_fmt(s.armeabiv7a - subtractBy(s.name, "armeabi-v7a"))
x86 = sizeof_fmt(s.x86 - subtractBy(s.name, "x86"))
x86_64 = sizeof_fmt(s.x8664 - subtractBy(s.name, "x86_64"))
return f"| {s.name} | **{v8a}** | **{v7a}** | **{x86}** | **{x86_64}** |"

def writeDataToFile(data, filePath):
with open(filePath, "w") as doc:
Expand Down

0 comments on commit 4a3e62c

Please sign in to comment.