mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
add sublime-text
This commit is contained in:
parent
80ddf48f3b
commit
a4f96a5d3a
@ -42,6 +42,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://packages.wcbing.top/d
|
|||||||
|钉钉|com.alibabainc.dingtalk|[官网](https://www.dingtalk.com/download/)|
|
|钉钉|com.alibabainc.dingtalk|[官网](https://www.dingtalk.com/download/)|
|
||||||
|飞书|bytedance-feishu-stable|[官网](https://www.feishu.cn/download)|
|
|飞书|bytedance-feishu-stable|[官网](https://www.feishu.cn/download)|
|
||||||
|termius|termius-app<br />termius-beta|官方仓库|
|
|termius|termius-app<br />termius-beta|官方仓库|
|
||||||
|
|Sublime Text|sublime-text|[官网](https://www.sublimetext.com/download)|
|
||||||
|
|
||||||
|
|
||||||
## 自行建立仓库
|
## 自行建立仓库
|
||||||
|
|||||||
11
get/sublime.py
Normal file
11
get/sublime.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import requests
|
||||||
|
import re
|
||||||
|
from module.check import deb
|
||||||
|
|
||||||
|
req = requests.get("https://www.sublimetext.com/download_thanks?target=x64-deb")
|
||||||
|
|
||||||
|
x64_deb_url = re.findall('url = "(.*amd64.deb)"', req.text)[0]
|
||||||
|
# https://download.sublimetext.com/sublime-text_build-4180_amd64.deb
|
||||||
|
version = x64_deb_url.split("-")[-1].split("_")[0]
|
||||||
|
|
||||||
|
deb("sublime-text", version, x64_deb_url)
|
||||||
Loading…
x
Reference in New Issue
Block a user