Skip to content

Commit

Permalink
cherry cherry lady
Browse files Browse the repository at this point in the history
  • Loading branch information
KorryKatti committed Mar 20, 2024
1 parent 29800f4 commit 4d488db
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import subprocess
import os
import json
import venv
import requests
from PIL import Image
from io import BytesIO
Expand Down Expand Up @@ -205,7 +206,11 @@ def libmenu_callback(choice):
# Code to handle the "Apps Update" option
pass

def cherry():
# i am running out of names , this function displays the app data finally
print("cherry cherry lady")

# what to do when library app is clicked , makes virtual env if making for the first time
def handle_app_click(app_id):
# Construct the directory path for the app
app_dir = os.path.join("common", app_id)
Expand All @@ -216,6 +221,14 @@ def handle_app_click(app_id):
print("Yes")
else:
print("No")
# Create a virtual environment named "thunderenv" in the app's folder
try:
venv.create(thunderenv_path, with_pip=True)
print("Virtual environment created successfully.")
except Exception as e:
print(f"Error creating virtual environment: {e}")

cherry()


# CallBack function for commenu
Expand Down

0 comments on commit 4d488db

Please sign in to comment.