From b2998ffe8020ed3d4cf9fbdb0d9b0cd569f67b3c Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Thu, 6 Jul 2023 10:48:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96postinst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- new-deb-build/DEBIAN/postinst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/new-deb-build/DEBIAN/postinst b/new-deb-build/DEBIAN/postinst index 643a295..b960604 100755 --- a/new-deb-build/DEBIAN/postinst +++ b/new-deb-build/DEBIAN/postinst @@ -37,11 +37,12 @@ fi # 更新 uengine-loading-ubuntu(如果存在) if [[ -f /usr/bin/uengine-loading-ubuntu ]]; then echo 更新 uengine-loading-ubuntu + cp /opt/apps/com.gitee.uengine.runner.spark/files/LoadingBinder/load.sh /usr/bin/uengine-loading-binder if [ -f /tmp/upgrade-uengine-loading-ubuntu ]; then rm /tmp/upgrade-uengine-loading-ubuntu fi # 下载新版 - aria2c -x 16 -s 16 -d /tmp -o upgrade-uengine-loading-ubuntu https://code.gitlink.org.cn/gfdgd_xi/uengine-installer-bak/raw/branch/master/run_daemon.sh + aria2c -x 16 -s 16 -d /tmp -o upgrade-uengine-loading-ubuntu http://uengine-runner.gfdgdxi.top/shell/run_daemon.sh if [ $? == 0 ]; then # 替换 cp /tmp/upgrade-uengine-loading-ubuntu /usr/bin/uengine-loading-ubuntu @@ -59,4 +60,4 @@ fi # 因为 Ubuntu 的问题,省略 gtk-update-icon-cache /usr/share/icons/bloom > /dev/null | true # 向服务器返回安装数加1(不显示内容且忽略错误) -python3 /opt/apps/com.gitee.uengine.runner.spark/files/Download.py 2.1.0 > /dev/null | true +python3 /opt/apps/com.gitee.uengine.runner.spark/files/Download.py 2.1.1 > /dev/null | true