chg: Use the apk name while printing out version info

This commit is contained in:
Sayantan Santra 2024-03-03 02:30:08 -06:00
parent 64e59fef33
commit e3a869cb7e
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -120,7 +120,7 @@ def get_apks(appstate):
required_ver = build_config[app]['version']
required_ver = Version(required_ver)
hard_version = True
print(f"Using version {required_ver} of {app} from build_config.")
print(f"Using version {required_ver} of {apk} from build_config.")
except:
hard_version = False
compatible_vers = []
@ -137,7 +137,7 @@ def get_apks(appstate):
required_ver = Version('0')
else:
required_ver = min(map(lambda x: Version(x), compatible_vers))
print(f"Chosen required version of {app} is {required_ver}.")
print(f"Chosen required version of {apk} is {required_ver}.")
if appstate['present_vers'][apk] == str(required_ver):
print("It's already present on disk, so skipping download.")