mirror of
https://github.com/m4rcel-lol/m5rcode-ubuntu.git
synced 2025-12-06 11:03:58 +05:30
Update updater.py
This commit is contained in:
committed by
GitHub
parent
aff3745589
commit
93ca07dc52
@@ -31,7 +31,7 @@ def check_and_update():
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
download_and_extract(REPO_ZIP_URL, tmpdir)
|
||||
# Find the extracted subfolder (GitHub zips always contain one top-level folder)
|
||||
zipped_root = Path(tmpdir) / "m5rcode-main"
|
||||
zipped_root = Path(tmpdir) / "m5rcode-ubuntu-main"
|
||||
if not zipped_root.exists():
|
||||
zipped_root = next(Path(tmpdir).iterdir())
|
||||
# 3. Copy updated files over (here simply overwrite existing files)
|
||||
|
||||
Reference in New Issue
Block a user