FLO_AppStore
This commit is contained in:
commit
cdc9062a62
BIN
apps/FLO-Shared-Secret/FLO_Secret
Executable file
BIN
apps/FLO-Shared-Secret/FLO_Secret
Executable file
Binary file not shown.
BIN
apps/FLO-Shared-Secret/Flo.png
Normal file
BIN
apps/FLO-Shared-Secret/Flo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 252 KiB |
BIN
apps/FLO-Shared-Secret/flo.png
Normal file
BIN
apps/FLO-Shared-Secret/flo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 252 KiB |
25
main.py
Normal file
25
main.py
Normal file
@ -0,0 +1,25 @@
|
||||
from tkinter import *
|
||||
from tkinter import messagebox
|
||||
import subprocess
|
||||
|
||||
|
||||
class FLOappStore:
|
||||
def __init__(self, root):
|
||||
self.root = root
|
||||
|
||||
def start(self):
|
||||
self.MainFrame = Frame(self.root, height=1000,width=500)
|
||||
self.MainFrame.pack()
|
||||
WelcomeLabel = Label(self.MainFrame,text="FLO AppStore",font=("Arial", 20))
|
||||
WelcomeLabel.grid(column = 1, columnspan =2)
|
||||
self.img = PhotoImage(file="apps/FLO-Shared-Secret/flo.png")
|
||||
button = Button(self.MainFrame,image = self.img,width="50",height="50",command=lambda:self.execute('apps/FLO-Shared-Secret/FLO_Secret'))
|
||||
button.grid()
|
||||
|
||||
def execute(self,f):
|
||||
subprocess.run([f])
|
||||
root = Tk()
|
||||
root.title("FLOappStore")
|
||||
gui = FLOappStore(root)
|
||||
gui.start()
|
||||
root.mainloop()
|
||||
Loading…
Reference in New Issue
Block a user