1.0.7 - polski interfejs i porządki w dokumentacji
Wydanie WGTools-Extended / release (push) Successful in 8s

This commit is contained in:
asminme committed 2026-10-30 15:04:45 +01:00
1 parent 97f73a6277
commit babbdee26d
39 files changed
+142 -24356

No files matched your search

+2 -3
View File
@@ -5799,8 +5799,7 @@ def _validate_update_source(source_root: Path, expected_version: str) -> None:
required = [
"VERSION",
"app/main.py",
"app/locales/en.json",
"app/locales/ru.json",
"app/locales/pl.json",
"scripts/install.sh",
"scripts/uninstall.sh",
"scripts/wgtools-helper",
@@ -5819,7 +5818,7 @@ def _validate_update_source(source_root: Path, expected_version: str) -> None:
actual_version = (source_root / "VERSION").read_text(encoding="utf-8").strip()
if actual_version != expected_version:
raise RuntimeError(f"Update archive version mismatch: expected {expected_version}, got {actual_version or 'empty'}")
for locale in (source_root / "app/locales/en.json", source_root / "app/locales/ru.json"):
for locale in (source_root / "app/locales/pl.json",):
json.loads(locale.read_text(encoding="utf-8"))
for script_name in ("scripts/install.sh", "scripts/wgtools-cli"):
rc, out, err = run(["bash", "-n", str(source_root / script_name)], timeout=15)