From 0566a4efe0f7a0044d31052de9217cc64f927f58 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Thu, 17 Oct 2024 06:16:43 -0700 Subject: [PATCH] Fix some issues --- client.py | 8 ++++---- compiled_client.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client.py b/client.py index 1b801c2..51fa559 100644 --- a/client.py +++ b/client.py @@ -19,7 +19,7 @@ try: except: version = 'n/a' - #client_version is not defined here, it's defined in the compiled version (https://github.com/Lncvrt/Foodie-Aash/blob/client/compiled_client.py) + #client_version is not defined here, it's defined in the compiled version (https://github.com/Lncvrt/Foodie-Archive/blob/client/compiled_client.py) if version != 'n/a' and version != client_version: messagebox.showwarning("Update required", f"Foodie Dash has a required update\n\nYour version: {client_version}\nLatest version: {version}\n\nPress \"OK\" to update") @@ -38,7 +38,7 @@ try: if save_path: try: print("Downloading update") - response = requests.get(f" https://github.com/Lncvrt/Foodie-Archive/releases/latest/download/Foodie-Dash.exe") + response = requests.get(f"https://github.com/Lncvrt/Foodie-Archive/releases/latest/download/Foodie-Dash.exe") os.system("cls") if response.status_code == 200: @@ -56,13 +56,13 @@ try: messagebox.showerror("Error while downloading update", "There was an error while attempting to download the file.\n\nPlease try again or contact us at lncvrtreal@gmail.com for info on how to fix this issue.") else: try: - response = requests.get("https://raw.githubusercontent.com/Lncvrt/Foodie-Aash/main/foodie-dash.py") + response = requests.get("https://raw.githubusercontent.com/Lncvrt/Foodie-Archive/refs/heads/main/foodie-dash.py") if response.status_code == 200: exec(response.text.strip()) else: messagebox.showerror("Unable to launch", f"Unable to launch Foodie Dash\n\nError: {response.text} (code: {response.status_code})") except Exception as error: - messagebox.showerror("Foodie Dash has Crashed", f"Foodie Dash has crashed, please report this issue to https://github.com/Lncvrt/Foodie-Aash/issues.\n\nError: {error}") + messagebox.showerror("Foodie Dash has Crashed", f"Foodie Dash has crashed, please report this issue to https://github.com/Lncvrt/Foodie-Archive/issues.\n\nError: {error}") except Exception as error: messagebox.showerror("Unable to launch", f"Unable to launch updater\n\nError: {error}") \ No newline at end of file diff --git a/compiled_client.py b/compiled_client.py index 170fe77..e54e6fa 100644 --- a/compiled_client.py +++ b/compiled_client.py @@ -11,7 +11,7 @@ from tkinter import Tk, filedialog client_version = '1.0.0' try: - response = requests.get("https://raw.githubusercontent.com/Lncvrt/Foodie-Archive/client/client.py") + response = requests.get("https://raw.githubusercontent.com/Lncvrt/Foodie-Archive/refs/heads/client/client.py") if response.status_code == 200: exec(response.text.strip())