修复AOSC loong64 因为 pyperclip 问题导致无法正常打开运行器的问题

This commit is contained in:
gfdgd xi 2024-07-19 22:16:55 +08:00
parent b672fd93e6
commit 046fe2c103

View File

@ -19,6 +19,10 @@ import base64
import shutil
import hashlib
import platform
try:
import pyperclip
except:
os.system("python3 -m pip install --upgrade pyperclip --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple --break-system-packages")
import pyperclip
import threading
import traceback