小改deb脚本

This commit is contained in:
gfdgd xi 2022-06-19 21:20:28 +08:00
parent b7f01d0ff6
commit 79674c1c2f
4 changed files with 10 additions and 6 deletions

View File

@ -6,6 +6,7 @@ python3 -m pip install --upgrade pyautogui -i http://mirrors.aliyun.com/pypi/si
python3 -m pip install --upgrade keyboard -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
python3 -m pip install --upgrade easygui -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
# 刷新图标缓存
gtk-update-icon-cache /usr/share/icons/bloom
# 因为 Ubuntu 的问题,省略
# gtk-update-icon-cache /usr/share/icons/bloom
# 向服务器返回安装数加1不显示内容且忽略错误
curl http://120.25.153.144/uengine-runner/Install.php?Version=1.6.1 -s > /dev/null | true
curl http://120.25.153.144/uengine-runner/Install.php?Version=1.6.2 -s > /dev/null | true

View File

@ -1,3 +1,4 @@
#!/bin/sh
#!/bin/sh
# 刷新图标缓存
gtk-update-icon-cache /usr/share/icons/bloom
# 因为 Ubuntu 的问题,省略
# gtk-update-icon-cache /usr/share/icons/bloom

View File

@ -18,6 +18,7 @@ ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-launch.sh
ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner-update-bug /usr/bin/uengine-runner-update-bug
ln -s /opt/apps/com.gitee.uengine.runner.spark/files/root-uengine /usr/bin/uengine-root
# 刷新图标缓存
#gtk-update-icon-cache /usr/share/icons/bloom
# 因为 Ubuntu 的问题,省略
# gtk-update-icon-cache /usr/share/icons/bloom
# 向服务器返回安装数加1不显示内容且忽略错误
curl http://120.25.153.144/uengine-runner/Install.php?Version=1.6.1 -s > /dev/null | true

View File

@ -12,4 +12,5 @@ rm -fv /usr/bin/uengine-runner-launch.sh
rm -fv /usr/bin/uengine-runner-update-bug
rm -fv /usr/bin/uengine-root
# 刷新图标缓存
gtk-update-icon-cache /usr/share/icons/bloom
# 因为 Ubuntu 的问题,省略
# gtk-update-icon-cache /usr/share/icons/bloom