mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
add termius (offical repo)
This commit is contained in:
parent
196bf6700c
commit
a39d3a9fdd
@ -3,8 +3,9 @@
|
|||||||
供 Debian 系发行版用户使用的软件源,收集一些国内常用软件的二进制包。
|
供 Debian 系发行版用户使用的软件源,收集一些国内常用软件的二进制包。
|
||||||
|
|
||||||
收录的软件说明:
|
收录的软件说明:
|
||||||
- 发布的是已打包的文件,不接受源码和自行打包。
|
- 发布的是已打包的文件,不接受第三方自行打包。
|
||||||
- 有固定的更新地址,如官网和 Github Releases。
|
- 有固定的更新地址,如官网、官方仓库或 Github Releases。
|
||||||
|
- 本仓库对于国内网络下载不受限的软件不提供文件托管服务,仅提供链接重定向功能,最终效果类似 winget。
|
||||||
- 现只收录了 x86_64,如有需要请参考最后一节自行建立仓库。
|
- 现只收录了 x86_64,如有需要请参考最后一节自行建立仓库。
|
||||||
|
|
||||||
## 使用现有仓库
|
## 使用现有仓库
|
||||||
@ -40,6 +41,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://packages.wcbing.top/d
|
|||||||
|百度网盘|baidunetdisk|[官网](https://pan.baidu.com/download)|
|
|百度网盘|baidunetdisk|[官网](https://pan.baidu.com/download)|
|
||||||
|钉钉|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|官方仓库|
|
||||||
|
|
||||||
|
|
||||||
## 自行建立仓库
|
## 自行建立仓库
|
||||||
|
|||||||
16
merge/termius.py
Normal file
16
merge/termius.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import requests
|
||||||
|
|
||||||
|
repo = "https://deb.termius.com/"
|
||||||
|
|
||||||
|
x64_deb_Packages_url = repo + "dists/squeeze/main/binary-amd64/Packages"
|
||||||
|
x64_deb_Packages = requests.get(x64_deb_Packages_url).text
|
||||||
|
|
||||||
|
x64_deb_content = x64_deb_Packages.replace("Filename: ", "Filename: " + repo)
|
||||||
|
# print(x64_deb_content)
|
||||||
|
|
||||||
|
with open("deb/Packages", "a+") as f:
|
||||||
|
f.write(x64_deb_content)
|
||||||
|
|
||||||
|
f.close()
|
||||||
|
|
||||||
|
print("termius repo: done")
|
||||||
@ -7,6 +7,13 @@ find get -maxdepth 1 -type f -name "*.py" -exec python3 {} \;
|
|||||||
# generate the files
|
# generate the files
|
||||||
cd deb
|
cd deb
|
||||||
apt-ftparchive packages . > Packages
|
apt-ftparchive packages . > Packages
|
||||||
|
|
||||||
|
# merge the Packages files of third-party repositories
|
||||||
|
cd ..
|
||||||
|
find merge -maxdepth 1 -type f -name "*.py" -exec python3 {} \;
|
||||||
|
|
||||||
|
# generate the Release file
|
||||||
|
cd deb
|
||||||
apt-ftparchive release . > Release
|
apt-ftparchive release . > Release
|
||||||
gpg --yes --armor --detach-sign --sign -o Release.gpg Release
|
gpg --yes --armor --detach-sign --sign -o Release.gpg Release
|
||||||
gpg --yes --clearsign -o InRelease Release
|
gpg --yes --clearsign -o InRelease Release
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user