diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-07-15 12:31:30 -0400 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-07-15 12:31:30 -0400 |
| commit | 103d43e7c967c099852c59ee8b9e19364ccc1ba3 (patch) | |
| tree | 1ffd788b3b879a3fb633dd0e97c40194bef9f018 /backend | |
| parent | 23b7df0ce256bf04ec4608a25cc69799aced9e52 (diff) | |
| download | decky-loader-103d43e7c967c099852c59ee8b9e19364ccc1ba3.tar.gz decky-loader-103d43e7c967c099852c59ee8b9e19364ccc1ba3.zip | |
fix updaterv2.0.4-103d43e-pre
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/updater.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/updater.py b/backend/updater.py index 81064735..f4db9190 100644 --- a/backend/updater.py +++ b/backend/updater.py @@ -8,7 +8,7 @@ from aiohttp import ClientSession, web from injector import inject_to_tab, get_tab -from os import getcwd, path +from os import getcwd, path, remove from subprocess import call @@ -92,6 +92,7 @@ class Updater: async with web.request("GET", download_url, ssl=helpers.get_ssl_context(), allow_redirects=True) as res: total = int(res.headers.get('content-length', 0)) + remove(path.join(getcwd(), "PluginLoader")) with open(path.join(getcwd(), "PluginLoader"), "wb") as out: progress = 0 raw = 0 |
