Comments (4)
版本号不就是为了区分
from zyplayer.
版本号不就是为了区分
私以为,release标题就有版本号,而且app也支持在线更新,文件名里面如果能改取消版本号的话,我就能用简单的wget命令定时拉取最新的安装包到nas里面了,docker-compose这个项目好像就是这样的,哈哈
from zyplayer.
写个 shell脚本,获取 lastest 版本号然后拼接后wget
from zyplayer.
写个 shell脚本,获取 lastest 版本号然后拼接后wget
#!/bin/bash
repo_owner="Hiram-Wong" # 替换为仓库所有者的用户名或组织名
repo_name="ZyPlayer" # 替换为仓库的名称
使用 GitHub API 获取 release 列表
api_url="https://api.github.com/repos/$repo_owner/$repo_name/releases"
response=$(curl -s $api_url)
提取最新版本号
latest_version=$(echo $response | jq -r '.[0].tag_name')
输出最新版本号
echo "Latest version of $repo_owner/$repo_name is: $latest_version"
感谢,确实这样就解决了
from zyplayer.
Related Issues (20)
- [搜索] 源太多解决选择困难症
- [搜索结果] 模糊搜索与精确搜索 HOT 13
- [H5Player] 增强型播放器,主要支持亮度,对比度伽马调节,音轨对齐,和生成式双语字幕 HOT 6
- [cms源] 是否可以添加屏蔽分类 HOT 2
- [软件启动] WIN10蓝屏后进不去了 HOT 1
- [播放器]是否可以无感切换不刷新全局页面 HOT 2
- [一级和搜索列表控件] 希望增加图片内容文本滚动 HOT 1
- 应用无法打开 HOT 6
- MacBook M1 系统12.0.1 (21A559) 安装3.3.5以上版本提示安装文件损坏无法安装 HOT 1
- [解析] 影视配置的接口编辑里的解析框里添加解析接口还是不能用那个接口解析 HOT 4
- 影视菜单显示空白 HOT 1
- [Linux安装编译问题] 用Arch Linux安装ZyPlayer-bin有些疑惑 HOT 4
- 能否增加现在”影视仓“和”FM猫影视“都有的AI去广告功能? HOT 3
- 可否默认增加一个默认站点页面”豆瓣推荐“ HOT 5
- 电视,点开后要求去设置,但设置也没看到有 HOT 1
- 换源之后播放就一直出现A JavaScript error occurred in the main process HOT 5
- 【即刻】-历史记录支持一键清空 HOT 1
- 播放电影或视频的时候,列表页点击出现异常 HOT 3
- 请问安卓系统的电视能否正常使用,理论上应该使用的是APK文件 HOT 1
- 网盘功能存在bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zyplayer.