feat: Add Docker support and debug logging for plugin initialization.

This commit is contained in:
2026-01-01 22:57:40 +09:00
parent 97d203cb86
commit 3a9765f7ea
5 changed files with 95 additions and 5 deletions

10
main.py
View File

@@ -33,11 +33,11 @@ try:
package_name = "python-socketio"
version = importlib.metadata.version(package_name)
# 개선 (비동기 + 로깅)
if int(version.replace(".", "")) < 580:
import subprocess
subprocess.Popen(["pip", "install", "--upgrade", package_name],
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
# 개선 (비동기 + 로깅)
if int(version.replace(".", "")) < 580:
import subprocess
subprocess.Popen(["pip", "install", "--upgrade", package_name],
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
except Exception:
pass