saved download hash in var

This commit is contained in:
2026-01-23 16:54:01 +05:30
parent fde281e5b1
commit fb48b74707
2 changed files with 2 additions and 1 deletions

View File

@@ -24,7 +24,8 @@ def main():
print(f"Downloading version: {remote_package_version}") print(f"Downloading version: {remote_package_version}")
with open(f"omada_{remote_package_version}.deb", "wb") as file: with open(f"omada_{remote_package_version}.deb", "wb") as file:
file.write(requests.get(latest_url).content) file.write(requests.get(latest_url).content)
print(f"File SHA256: {get_sha256_hash(f"omada_{remote_package_version}.deb")}") download_hash = get_sha256_hash(f"omada_{remote_package_version}.deb")
print(f"File SHA256: {download_hash}")
if __name__ == '__main__': if __name__ == '__main__':
main() main()

BIN
omada_v6.1.0.19.deb Normal file

Binary file not shown.