mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 23:00:01 +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:
parent
ad04961d19
commit
025f994c62
8 changed files with 28 additions and 12 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue