From 62d1407d176dded8c0ce25f182aeeffa4fff1333 Mon Sep 17 00:00:00 2001 From: relikd Date: Mon, 1 Dec 2025 01:14:53 +0100 Subject: [PATCH] fix: .appex for macOS extensions --- src/Common/MetaInfo.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Common/MetaInfo.swift b/src/Common/MetaInfo.swift index c7a5841..ffb417c 100644 --- a/src/Common/MetaInfo.swift +++ b/src/Common/MetaInfo.swift @@ -47,6 +47,10 @@ struct MetaInfo { } case "com.apple.application-and-system-extension": self.type = FileType.Extension + if let bundleDir = recursiveSearchInfoPlist(url) { + isOSX = bundleDir.appendingPathComponent("MacOS").exists() && bundleDir.lastPathComponent == "Contents" + effective = bundleDir + } case "com.google.android.apk", "dyn.ah62d4rv4ge80c6dp" /* apk */, "public.archive.apk", "dyn.ah62d4rv4ge80c6dpry" /* apkm */: self.type = FileType.APK zipFile = ZipFile(self.url.path)