mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
add utools
This commit is contained in:
parent
9db0562860
commit
0da5bfa808
@ -44,6 +44,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://packages.wcbing.top/d
|
|||||||
|飞书|bytedance-feishu-stable|[官网](https://www.feishu.cn/download)|
|
|飞书|bytedance-feishu-stable|[官网](https://www.feishu.cn/download)|
|
||||||
|Xmind|xmind-vana|[官网](https://xmind.cn/download/)|
|
|Xmind|xmind-vana|[官网](https://xmind.cn/download/)|
|
||||||
|draw.io|draw.io|[Github Releases](https://github.com/jgraph/drawio-desktop/releases)|
|
|draw.io|draw.io|[Github Releases](https://github.com/jgraph/drawio-desktop/releases)|
|
||||||
|
|uTools|utools|[官网](https://u.tools/download/)|
|
||||||
|
|
||||||
### 合并自官方 repo
|
### 合并自官方 repo
|
||||||
|
|
||||||
|
|||||||
11
get/utools.py
Normal file
11
get/utools.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import requests
|
||||||
|
import re
|
||||||
|
from module.check import deb
|
||||||
|
|
||||||
|
res = requests.get("https://u.tools/download/")
|
||||||
|
res.encoding = "utf-8"
|
||||||
|
|
||||||
|
x64_deb_url = re.findall(r"https:\/\/[^ ]+\.deb", res.text)[0]
|
||||||
|
version = re.findall(".*utools_(.+)_amd64.deb", x64_deb_url)[0]
|
||||||
|
|
||||||
|
deb("utools", version, x64_deb_url)
|
||||||
Loading…
x
Reference in New Issue
Block a user