mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 11:28:28 +00: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:
@@ -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")
|
||||
|
Reference in New Issue
Block a user