diff options
| author | K900 <me@0upti.me> | 2023-11-14 10:21:49 +0300 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2023-12-29 18:34:19 -0500 |
| commit | 41c62c3a3436e0e2968bfaea9c612ba2873fcdfb (patch) | |
| tree | 4865a5ae7d681c8195fe2c6fd87916d9c2050251 /backend/decky_loader/updater.py | |
| parent | 31a6202da96922162f8a567c137e3313a554d8d3 (diff) | |
| download | decky-loader-41c62c3a3436e0e2968bfaea9c612ba2873fcdfb.tar.gz decky-loader-41c62c3a3436e0e2968bfaea9c612ba2873fcdfb.zip | |
refactor(backend): get version from package metadata
Diffstat (limited to 'backend/decky_loader/updater.py')
| -rw-r--r-- | backend/decky_loader/updater.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/decky_loader/updater.py b/backend/decky_loader/updater.py index f8aef429..a7234a8b 100644 --- a/backend/decky_loader/updater.py +++ b/backend/decky_loader/updater.py @@ -158,7 +158,6 @@ class Updater: logger.error("Unable to update as remoteVer is missing") return - version = self.remoteVer["tag_name"] download_url = None download_filename = "PluginLoader" if ON_LINUX else "PluginLoader.exe" download_temp_filename = download_filename + ".new" @@ -217,9 +216,6 @@ class Updater: self.context.loop.create_task(tab.evaluate_js(f"window.DeckyUpdater.updateProgress({new_progress})", False, False, False)) progress = new_progress - with open(path.join(getcwd(), ".loader.version"), "w", encoding="utf-8") as out: - out.write(version) - if ON_LINUX: remove(path.join(getcwd(), download_filename)) shutil.move(path.join(getcwd(), download_temp_filename), path.join(getcwd(), download_filename)) |
