saved download hash in var
This commit is contained in:
@@ -24,7 +24,8 @@ def main():
|
||||
print(f"Downloading version: {remote_package_version}")
|
||||
with open(f"omada_{remote_package_version}.deb", "wb") as file:
|
||||
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__':
|
||||
main()
|
||||
BIN
omada_v6.1.0.19.deb
Normal file
BIN
omada_v6.1.0.19.deb
Normal file
Binary file not shown.
Reference in New Issue
Block a user