add microsoft-edge-stable

This commit is contained in:
wcbing 2024-08-01 20:04:06 +08:00
parent 587e75f538
commit f6b7309f81
2 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://deb.wcbing.top /" | s
|hugo|hugo|[Github Releases](https://github.com/gohugoio/hugo/releases)| |hugo|hugo|[Github Releases](https://github.com/gohugoio/hugo/releases)|
|RustDesk|rustdesk|[Github Releases](https://github.com/rustdesk/rustdesk/releases)| |RustDesk|rustdesk|[Github Releases](https://github.com/rustdesk/rustdesk/releases)|
|Visual Studio Code|code|[官网](https://code.visualstudio.com)| |Visual Studio Code|code|[官网](https://code.visualstudio.com)|
|Microsoft Edge|microsoft-edge-stable|[官网](https://www.microsoft.com/en-us/edge/download)|
## 自行建立仓库 ## 自行建立仓库

View File

@ -0,0 +1,12 @@
import requests
import re
from module.check import check_download
x64_deb_url = "https://go.microsoft.com/fwlink?linkid=2149051"
res = requests.head(x64_deb_url)
version = re.findall("_(.*)_", res.headers["Location"])[0]
x64_deb_url = res.headers["Location"]
# print(version, x64_deb_url)
check_download("microsoft-edge-stable", version, x64_deb_url)