Files
foodie-dash-py/compiled_client.py
T
2024-12-13 23:19:11 -07:00

20 lines
633 B
Python

import requests
import os
import pygame
import random
from sys import exit
from tkinter import messagebox
from tkinter import Tk, filedialog
client_version = '1.0.0'
try:
response = requests.get("https://raw.githubusercontent.com/Lncvrt/Foodie-Archive/refs/heads/client/client.py")
if response.status_code == 200:
exec(response.text.strip())
else:
messagebox.showerror("Unable to launch", f"Unable to launch updater\n\nError: {response.text} (code: {response.status_code})")
except Exception as error:
messagebox.showerror("Unable to launch", f"Unable to launch updater\n\nError: {error}")