From 9e4ba8770e6d0ec5777ab6155d70913ae99e5ac3 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 12 Apr 2023 08:51:05 +0800 Subject: [PATCH] Update build_backend.sh --- build_backend.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_backend.sh b/build_backend.sh index 1f27ef9..64b1f53 100644 --- a/build_backend.sh +++ b/build_backend.sh @@ -18,6 +18,10 @@ else _green "资源池 $POOL_ID 已创建!" fi +# 移除订阅弹窗 +cp -rf /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak +sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js + # 检测AppArmor模块 if ! dpkg -s apparmor > /dev/null 2>&1; then _green "正在安装 AppArmor..."