Add client

This commit is contained in:
Lncvrt committed 2024-10-17 06:08:29 -07:00
1 parent 51500d4afa
commit 97f5d20335
5 files changed
+103 -223

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import requests
import os
import pygame
import random
import shutil
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/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}")