微调dstore patch

This commit is contained in:
2025-10-22 11:24:15 +08:00
parent f22f0c95fa
commit ba292e3870
6 changed files with 11 additions and 11 deletions

View File

@@ -116,11 +116,10 @@ function exec_uos_package_update(){
######################################################################################### #########################################################################################
echo "----------------Running APM Dstore Patch----------------" echo "----------------Running APM Dstore Patch----------------"
if [ ! -e /usr/bin/deepin-app-store-tool ];then
# execute linkApp function for each app and print output
exec_uos_package_link exec_uos_package_link
fi
#exec_v23_icon_link #exec_v23_icon_link
exec_link_clean exec_link_clean
wait wait

View File

@@ -1,9 +1,9 @@
Package: apm Package: apm
Source: amber-ce Source: amber-ce
Version: 1.0.5 Version: 1.0.6
Architecture: amd64 Architecture: amd64
Maintainer: shenmo <shenmo@spark-app.store> Maintainer: shenmo <shenmo@spark-app.store>
Installed-Size: 48680 Installed-Size: 48540
Depends: bubblewrap, flatpak, policykit-1 | pkexec | polkit-1 | polkit, systemd, procps,coreutils,fuse-overlayfs Depends: bubblewrap, flatpak, policykit-1 | pkexec | polkit-1 | polkit, systemd, procps,coreutils,fuse-overlayfs
Section: misc Section: misc
Conflicts: ace-host-integration Conflicts: ace-host-integration

View File

@@ -116,11 +116,11 @@ function exec_uos_package_update(){
######################################################################################### #########################################################################################
echo "----------------Running APM Dstore Patch----------------" echo "----------------Running APM Dstore Patch----------------"
if [ ! -e /usr/bin/deepin-app-store-tool ];then
# execute linkApp function for each app and print output # execute linkApp function for each app and print output
exec_uos_package_link exec_uos_package_link
fi
#exec_v23_icon_link #exec_v23_icon_link
exec_link_clean exec_link_clean
wait wait

View File

@@ -21,6 +21,7 @@ Commands:
install 安装软件包 install 安装软件包
remove 卸载软件包 remove 卸载软件包
update 更新软件包信息 update 更新软件包信息
clean 清除缓存软件包
autoremove 自动移除不需要的包 autoremove 自动移除不需要的包
full-upgrade 完全升级软件包 full-upgrade 完全升级软件包
run <package> 运行指定软件包的可执行文件 run <package> 运行指定软件包的可执行文件
@@ -111,7 +112,7 @@ case "$1" in
amber-pm-debug aptss "$command" "$@" amber-pm-debug aptss "$command" "$@"
apm-nvidia-toggle apm-nvidia-toggle
;; ;;
remove|autoremove|search|policy|list|update|purge|autopurge) remove|autoremove|search|policy|list|update|purge|autopurge|clean)
# 特殊APT命令移除第一个参数后传递其余参数 # 特殊APT命令移除第一个参数后传递其余参数
command=$1 command=$1
shift shift

View File

@@ -1,12 +1,12 @@
[Unit] [Unit]
Description=APM GXDE Fixer Description=APM Daily Update
After=apt-daily.service network.target network-online.target systemd-networkd.service NetworkManager.service connman.service After=apt-daily.service network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
[Service] [Service]
Type=simple Type=simple
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/var/lib/apm/apm/files/bin/ace-gxde-fixer ExecStart=apm clean && apm update
Restart=on-failure Restart=on-failure
RestartSec=10 RestartSec=10

View File

@@ -6,7 +6,7 @@ After=apt-daily.service network.target network-online.target systemd-networkd.se
[Service] [Service]
Type=simple Type=simple
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=apm update ExecStart=/var/lib/apm/apm/files/bin/ace-gxde-fixer
Restart=on-failure Restart=on-failure
RestartSec=10 RestartSec=10