Skip to content

Commit

Permalink
- 修复插件事件重复执行的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Nov 3, 2023
1 parent 6f881a8 commit c3c55f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions update
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ install_backend_and_download_resources() {
if [ $? -eq 0 ]; then
echo "前端程序下载成功"
# 备份插件目录
mv -f /app/app/plugins /plugins
rm -rf /plugins
mv /app/app/plugins /plugins
# 清空目录
rm -rf /app
# 后端程序
mv -f /tmp/App /app
# 恢复插件目录
mv -f /plugins /app/app/plugins
mv -f /plugins/* /app/app/plugins/
# 插件仓库
mv -f /tmp/Plugins/plugins/* /app/app/plugins/
rsync -av --remove-source-files /tmp/Plugins/plugins/* /app/app/plugins/
# 资源包
mv -f /tmp/Resources/resources/* /app/app/helper/
# 前端程序
Expand Down

0 comments on commit c3c55f3

Please sign in to comment.