made the file download the libaries

This commit is contained in:
2026-07-30 17:28:45 +02:00
parent cbda68256a
commit d268007202
3 changed files with 27 additions and 5 deletions
+1
View File
@@ -0,0 +1 @@
key.key
+22 -2
View File
@@ -1,8 +1,28 @@
from cryptography.fernet import Fernet
import customtkinter as ctk
import json
import os
import pyperclip
import subprocess
import sys
try:
import customtkinter as ctk
except ImportError:
subprocess.check_call([sys.executable, "-m", "pip", "install", "customtkinter"])
import customtkinter as ctk
try:
from cryptography.fernet import Fernet
except ImportError:
subprocess.check_call([sys.executable, "-m", "pip", "install", "cryptography"])
from cryptography.fernet import Fernet
try:
import pyperclip
except ImportError:
subprocess.check_call([sys.executable, "-m", "pip", "install", "pyperclip"])
import pyperclip
ctk.set_appearance_mode("Dark")
app = ctk.CTk()
+1
View File
@@ -1,2 +1,3 @@
{
}