python-openbmclapi icon indicating copy to clipboard operation
python-openbmclapi copied to clipboard

:sparkles: 添加自动更新

Open Tianpao512 opened this issue 1 year ago • 3 comments

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

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

其他 任何其他的内容。

Tianpao512 avatar Apr 27 '24 04:04 Tianpao512

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

sciencekiller avatar May 02 '24 02:05 sciencekiller

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

sciencekiller avatar May 02 '24 02:05 sciencekiller

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

tianxiu2b2t avatar Dec 03 '24 16:12 tianxiu2b2t