add google-chrome-stable

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

View File

@ -33,6 +33,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://deb.wcbing.top /" | s
|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)| |Microsoft Edge|microsoft-edge-stable|[官网](https://www.microsoft.com/en-us/edge/download)|
|Google Chrome|google-chrome-stable|[官网](https://www.google.com/chrome/)|
## 自行建立仓库 ## 自行建立仓库

View File

@ -0,0 +1,12 @@
import requests
import json
from module.check import check_download
version_url = "https://versionhistory.googleapis.com/v1/chrome/platforms/linux/channels/stable/versions"
res = requests.get(version_url)
version = json.loads(res.text)["versions"][0]["version"]
# print(version)
x64_deb_url = "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
check_download("google-chrome-stable", version, x64_deb_url)