1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-07 20:39:59 +02:00

fix: enhance tab unloading logic with permitUnload check and update candidate version and update to firefox 136.0.2

This commit is contained in:
mr. m 2025-03-18 15:46:13 +01:00
parent ad04961d19
commit 025f994c62
No known key found for this signature in database
GPG key ID: 419302196C23B258
8 changed files with 28 additions and 12 deletions

View file

@ -64,6 +64,12 @@ def update_l10n_last_commit_hash():
if not os.path.exists("firefox-cache"):
os.mkdir("firefox-cache")
os.system("cat l10n-temp/.git/refs/heads/main > firefox-cache/l10n-last-commit-hash")
# Remove new line character
data = ""
with open("firefox-cache/l10n-last-commit-hash", "r") as f:
data = f.read()
with open("firefox-cache/l10n-last-commit-hash", "w") as f:
f.write(data.strip())
except KeyboardInterrupt:
print("Exiting...")
shutil.rmtree("l10n-temp")