Bundle original Debian apt 2.6.1 test package with readable description

This commit is contained in:
admin committed 2026-11-12 13:46:04 +08:00
1 parent dc51a3a3c7
commit 718bf032c8
4 files changed
+22 -5

No files matched your search

+2
View File
@@ -2080,6 +2080,8 @@ static BOOL hook_isDEBAvailable(id self, SEL _cmd)
static NSString *hook_dpkgInfo(id self, SEL _cmd, NSString *path)
{
NSString *info = WQDebInfoText(path);
NSLog(@"[WQDeb] dpkgInfo %@ -> %lu bytes", path,
(unsigned long)info.length);
if (info.length) return info;
if (orig_dpkgInfo)
return ((NSString *(*)(id, SEL, NSString *))orig_dpkgInfo)(self, _cmd, path);