This commit is contained in:
2025-04-03 19:04:50 +08:00
parent 16e05f5815
commit 9976333826
4 changed files with 393 additions and 17 deletions

12
heygem.py Normal file
View File

@@ -0,0 +1,12 @@
import site
import subprocess
import sys
pkg_path = site.getsitepackages()[0]
sys.path.append(f"{pkg_path}/heygem/code")
p = subprocess.Popen(f"cd {pkg_path}/heygem/code && "
"python3 app_local.py", shell=True)
p.communicate()