Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ 添加自动更新 #48

Open
Tianpao512 opened this issue Apr 27, 2024 · 3 comments
Open

✨ 添加自动更新 #48

Tianpao512 opened this issue Apr 27, 2024 · 3 comments
Labels
低优先级 该问题会在有空闲的时间修复 改进 新的功能或请求 需要帮助 需要额外的帮助

Comments

@Tianpao512
Copy link

Tianpao512 commented Apr 27, 2024

建议描述
更新时能自动更新

可行的解决方案
json 存版本和 githubapi 对一下就行

其他
任何其他的内容。

@tianxiu2b2t tianxiu2b2t added the 低优先级 该问题会在有空闲的时间修复 label Apr 27, 2024
@SilianZ SilianZ changed the title ✨添加自动更新 ✨ 添加自动更新 Apr 30, 2024
@sciencekiller
Copy link

没必要吧,像我一样写个脚本启动的时候pull就行

@sciencekiller
Copy link

start.sh

#!/bin/bash
#update
./update.sh
#start alist service
systemctl start alist
#run venv environment
source venv/bin/activate
#change directory to work root directory
cd python-openbmclapi
#Run program
python3 main.py

update.sh

#!/bin/bash
#Update
cd python-openbmclapi
git init
git pull
cd ..
#Start venv environment
#source venv/bin/activate
#Install dependences
#cd python-openbmclapi
#pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

@tianxiu2b2t tianxiu2b2t added 改进 新的功能或请求 需要帮助 需要额外的帮助 labels May 30, 2024
@tianxiu2b2t
Copy link
Member

目前已实现自动同步面板 (v3)
可能下一次会出自动同步以.py结尾的更新(也可以不会)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
低优先级 该问题会在有空闲的时间修复 改进 新的功能或请求 需要帮助 需要额外的帮助
Projects
None yet
Development

No branches or pull requests

3 participants