Skip to content

Commit

Permalink
Update update.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HexyeDEV authored Nov 24, 2022
1 parent 174b63e commit 7341cf4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions update.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
from tkinter import Tk as tk
from tkinter import Label, messagebox
import customtkinter
from customtkinter import CTkLabel as Label
from tkinter import messagebox
import requests, os

window = tk()
customtkinter.set_appearance_mode("dark")
customtkinter.set_default_color_theme("green")

window = customtkinter.CTk()
window.title("Update")
window.geometry("500x500")
window.resizable(False, False)
window.configure(background="#bebebe")
Label(window, text="Update", font=("Arial", 20), bg="#bebebe").pack()
Label(window, text="Update", text_font=("Arial", 20), bg="#bebebe").pack()
Label(window, text="", bg="#bebebe").pack()
Label(window, text="Looking for updates...", bg="#bebebe").pack()
req = requests.get("https://raw.githubusercontent.com/HexyeDEV/EzPython/main/version.json").json()
Expand All @@ -28,4 +32,4 @@
messagebox.showinfo("Update", "No updates available")
os.system("python3 EzPython.py")
window.destroy()
exit()
exit()

0 comments on commit 7341cf4

Please sign in to comment.