From 06364229cf0488f69f0e5e4c29dea4afa519591f Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 6 Nov 2025 12:25:01 +0800 Subject: [PATCH] dos2unix --- src/DEBIAN/control | 7 ++++--- src/usr/bin/amber-pm-convert | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/DEBIAN/control b/src/DEBIAN/control index 05c0c5f..88847dd 100755 --- a/src/DEBIAN/control +++ b/src/DEBIAN/control @@ -1,10 +1,11 @@ Package: apm Source: amber-ce -Version: 1.1.2-1 +Version: 1.1.3 Architecture: amd64 Maintainer: shenmo -Installed-Size: 46496 -Depends: bubblewrap, flatpak, policykit-1 | pkexec | polkit-1 | polkit, systemd, procps,coreutils,fuse-overlayfs,xz-utils,libnotify-bin,curl,xdg-user-dirs +Installed-Size: 48980 +Depends: bubblewrap, flatpak, policykit-1 | pkexec | polkit-1 | polkit, systemd, procps,coreutils,fuse-overlayfs,xz-utils,libnotify-bin,curl,xdg-user-dirs,bash +Recommends: dpkg, fakeroot, busybox Section: misc Conflicts: ace-host-integration Priority: optional diff --git a/src/usr/bin/amber-pm-convert b/src/usr/bin/amber-pm-convert index d7973ab..57add67 100755 --- a/src/usr/bin/amber-pm-convert +++ b/src/usr/bin/amber-pm-convert @@ -231,6 +231,7 @@ dpkg -e "$DEB_PATH" "$MODIFIED_DEB_DIR/DEBIAN" DESKTOP_MODIFIED=false find "$EXTRACT_DIR" -name "*.desktop" | while read -r desktop_file; do log.info "处理桌面文件: $desktop_file" + busybox dos2unix $desktop_file DESKTOP_MODIFIED=true # 在Exec和TryExec行前追加 "apm run $NEW_PKGNAME"