diff --git a/debian/changelog b/debian/changelog index 7f3eb9c..2fae959 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ -uos-packaging-tools (1.7.0) UNRELEASED; urgency=low +uos-packaging-tools (1.7.1) UNRELEASED; urgency=low * 支持在 Debian 13 安装 + * 根据新 zenity 的样式修改了大小 -- shenmo <> Wed, 09 Apr 2025 18:42:51 +0800 diff --git a/src/opt/uos-packaging-tools/just-install-me b/src/opt/uos-packaging-tools/just-install-me index fb0cfd0..11f6669 100755 --- a/src/opt/uos-packaging-tools/just-install-me +++ b/src/opt/uos-packaging-tools/just-install-me @@ -24,7 +24,7 @@ function zenity() confirm_installation() { local package_name=$(dpkg-deb -f "$1" Package) - zenity --question --width=300 --height=150 --text="您正准备安装 ${package_name}\n\n若这次安装请求是您发起的,请按确定继续安装,否则请取消" + zenity --question --width=300 --height=250 --text="您正准备安装 ${package_name}\n\n若这次安装请求是您发起的,请按确定继续安装,否则请取消" return $? } @@ -37,7 +37,7 @@ if [ -e /usr/local/bin/ssaudit ]; then # 弹出确认窗口 if confirm_installation "$DEBPATH"; then notify-send "正在使用 ssaudit 安装 $(dpkg-deb -f "$DEBPATH" Package),请稍候...." -i /usr/share/icons/uos-packaging-tools.png - /usr/local/bin/ssaudit "$DEBPATH" | zenity --text-info --width=500 --height=300 --title="安装输出" --auto-scroll + /usr/local/bin/ssaudit "$DEBPATH" | zenity --text-info --width=500 --height=500 --title="安装输出" --auto-scroll else notify-send "$(dpkg-deb -f "$DEBPATH" Package) 的安装已取消" -i /usr/share/icons/uos-packaging-tools.png fi @@ -54,7 +54,7 @@ else # 弹出确认窗口 if confirm_installation "$DEBPATH"; then notify-send "正在使用 apt 安装 $(dpkg-deb -f "$DEBPATH" Package),请稍候...." -i /usr/share/icons/uos-packaging-tools.png - apt install "$DEBPATH" --reinstall -y | zenity --text-info --width=500 --height=300 --title="安装输出" --auto-scroll + apt install "$DEBPATH" --reinstall -y | zenity --text-info --width=500 --height=500 --title="安装输出" --auto-scroll if [ "$?" = "0" ]; then notify-send "$(dpkg-deb -f "$DEBPATH" Package) 安装已完成" -i /usr/share/icons/uos-packaging-tools.png else