mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
add flclash
This commit is contained in:
parent
86d8ef4207
commit
c145e800d8
@ -28,6 +28,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://packages.wcbing.top/d
|
||||
|QQ音乐|qqmusic|[官网](https://y.qq.com/download/download.html)|
|
||||
|腾讯会议|wemeet|[官网](https://meeting.tencent.com/download/)|
|
||||
|Clash Verge Rev|clash-verge|[Github Releses](https://github.com/clash-verge-rev/clash-verge-rev/releases)|
|
||||
|FlClash|flclash|[Github Releses](https://github.com/chen08209/FlClash/releases)|
|
||||
|mihomo|mihomo|[Github Releases](https://github.com/MetaCubeX/mihomo/releases)|
|
||||
|hugo|hugo|[Github Releases](https://github.com/gohugoio/hugo/releases)|
|
||||
|RustDesk|rustdesk|[Github Releases](https://github.com/rustdesk/rustdesk/releases)|
|
||||
|
||||
18
get/flclash.py
Normal file
18
get/flclash.py
Normal file
@ -0,0 +1,18 @@
|
||||
import requests
|
||||
from module.check import deb
|
||||
|
||||
name = "flclash"
|
||||
|
||||
release_url = "https://github.com/chen08209/FlClash/releases"
|
||||
|
||||
res = requests.head(release_url + "/latest", allow_redirects=False)
|
||||
vversion = requests.Session().get_redirect_target(res).split("/")[-1] # v1.1.1
|
||||
version = vversion[1:] # 1.1.1
|
||||
# print(vversion, version)
|
||||
|
||||
# /v0.8.54/FlClash-0.8.54-linux-amd64.deb
|
||||
x64_deb_url = (
|
||||
release_url + "/download/" + vversion + "/FlClash-" + version + "-linux-amd64.deb"
|
||||
)
|
||||
|
||||
deb(name, version, x64_deb_url)
|
||||
Loading…
x
Reference in New Issue
Block a user