feat: 插件安装改为直接下载源码

This commit is contained in:
RockChinQ
2023-11-10 23:01:56 +08:00
parent 11a240a6d1
commit acbd55ded2
2 changed files with 87 additions and 14 deletions

View File

@@ -0,0 +1,7 @@
import re
repo_url = "git@github.com:RockChinQ/WebwlkrPlugin.git"
repo = re.findall(r'(?:https?://github\.com/|git@github\.com:)([^/]+/[^/]+?)(?:\.git|/|$)', repo_url)
print(repo)