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

Refactor language pack scripts: replace shell scripts with Python equivalents for improved maintainability and functionality; remove obsolete scripts and update surfer.json formatting.

This commit is contained in:
mr. M 2025-01-13 23:15:37 +01:00
parent 2aaf3f82e6
commit a512948eb0
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
8 changed files with 93 additions and 26 deletions

View file

@ -5,6 +5,7 @@ import shutil
from check_rc_response import get_rc_response, rc_should_be_updated
def update_rc(last_version: str):
rc_version = get_rc_response()
if rc_should_be_updated(rc_version, last_version):
@ -42,7 +43,7 @@ def get_version_from_file(filename, is_rc):
raise RuntimeError(f"Error reading version from {filename}: {e}")
def update_readme(last_version, new_version, is_rc = False):
def update_readme(last_version, new_version, is_rc=False):
"""Updates the README.md file to reflect the new version."""
prefix = "RC " if is_rc else ""
try: