mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-18 03:11:37 +08:00
微调dstore patch
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
Package: apm
|
||||
Source: amber-ce
|
||||
Version: 1.0.5
|
||||
Version: 1.0.6
|
||||
Architecture: amd64
|
||||
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
|
||||
Section: misc
|
||||
Conflicts: ace-host-integration
|
||||
|
||||
@@ -116,11 +116,11 @@ function exec_uos_package_update(){
|
||||
|
||||
#########################################################################################
|
||||
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
|
||||
|
||||
fi
|
||||
|
||||
#exec_v23_icon_link
|
||||
exec_link_clean
|
||||
wait
|
||||
|
||||
@@ -21,6 +21,7 @@ Commands:
|
||||
install 安装软件包
|
||||
remove 卸载软件包
|
||||
update 更新软件包信息
|
||||
clean 清除缓存软件包
|
||||
autoremove 自动移除不需要的包
|
||||
full-upgrade 完全升级软件包
|
||||
run <package> 运行指定软件包的可执行文件
|
||||
@@ -111,7 +112,7 @@ case "$1" in
|
||||
amber-pm-debug aptss "$command" "$@"
|
||||
apm-nvidia-toggle
|
||||
;;
|
||||
remove|autoremove|search|policy|list|update|purge|autopurge)
|
||||
remove|autoremove|search|policy|list|update|purge|autopurge|clean)
|
||||
# 特殊APT命令:移除第一个参数后传递其余参数
|
||||
command=$1
|
||||
shift
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[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
|
||||
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/var/lib/apm/apm/files/bin/ace-gxde-fixer
|
||||
ExecStart=apm clean && apm update
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ After=apt-daily.service network.target network-online.target systemd-networkd.se
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=yes
|
||||
ExecStart=apm update
|
||||
ExecStart=/var/lib/apm/apm/files/bin/ace-gxde-fixer
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user