chore(updater): update updater info

This commit is contained in:
Benex254
2024-08-05 09:47:03 +03:00
parent e39750d9bf
commit 25f73b8c9f

View File

@@ -8,7 +8,7 @@ from subprocess import PIPE, Popen
import requests
from rich import print
from .. import APP_NAME, AUTHOR, GIT_REPO, REPO, __version__
from .. import APP_NAME, AUTHOR, GIT_REPO, __version__
API_URL = f"https://api.{GIT_REPO}/repos/{AUTHOR}/{APP_NAME}/releases/latest"
@@ -91,13 +91,12 @@ def update_app():
else:
executable = sys.executable
app_package_url = f"https://{REPO}/releases/download/{tag_name}/fastanime-{tag_name.replace("v","")}.tar.gz"
args = [
executable,
"-m",
"pip",
"install",
app_package_url,
APP_NAME,
"--user",
"--no-warn-script-location",
]