diff --git a/build/DEBIAN/postinst b/build/DEBIAN/postinst index f97044c..fd8848e 100755 --- a/build/DEBIAN/postinst +++ b/build/DEBIAN/postinst @@ -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 \ No newline at end of file +curl http://120.25.153.144/uengine-runner/Install.php?Version=1.6.2 -s > /dev/null | true \ No newline at end of file diff --git a/build/DEBIAN/postrm b/build/DEBIAN/postrm index 661fe64..1161847 100755 --- a/build/DEBIAN/postrm +++ b/build/DEBIAN/postrm @@ -1,3 +1,4 @@ -#!/bin/sh +#!/bin/sh # 刷新图标缓存 -gtk-update-icon-cache /usr/share/icons/bloom \ No newline at end of file +# 因为 Ubuntu 的问题,省略 +# gtk-update-icon-cache /usr/share/icons/bloom \ No newline at end of file diff --git a/new-deb-build/DEBIAN/postinst b/new-deb-build/DEBIAN/postinst index dcb72ff..5b38473 100755 --- a/new-deb-build/DEBIAN/postinst +++ b/new-deb-build/DEBIAN/postinst @@ -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 \ No newline at end of file diff --git a/new-deb-build/DEBIAN/postrm b/new-deb-build/DEBIAN/postrm index f64d197..4594bb3 100755 --- a/new-deb-build/DEBIAN/postrm +++ b/new-deb-build/DEBIAN/postrm @@ -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 \ No newline at end of file +# 因为 Ubuntu 的问题,省略 +# gtk-update-icon-cache /usr/share/icons/bloom \ No newline at end of file