The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(updater): macOS 增量更新后签名失效
XiaoYouChR876de884fde4
diff --git a/scripts/restructure_macos_bundle.py b/scripts/restructure_macos_bundle.pyindex 3a9a5d9c..054c7e41 100644--- a/scripts/restructure_macos_bundle.py+++ b/scripts/restructure_macos_bundle.py@@ -31,6 +31,15 @@ def restructure(appBundle: Path) -> None:entry.symlink_to(os.path.relpath(dest, macosDir))print(f" {entry.name} → Resources/{entry.name}")+ # Match updater.c:restructureBundle() — symlink Resources entries not yet in MacOS.+ for entry in sorted(resourcesDir.iterdir()):+ if entry.name.startswith("."):+ continue+ link = macosDir / entry.name+ if not link.exists() and not link.is_symlink():+ link.symlink_to(os.path.relpath(entry, macosDir))+ print(f" {entry.name} → Resources/{entry.name} (resources-only)")+def main() -> int:if len(sys.argv) != 2:diff --git a/tools/updater/updater.c b/tools/updater/updater.cindex f6a31d21..ec2e4a1d 100644--- a/tools/updater/updater.c+++ b/tools/updater/updater.c@@ -1018,6 +1018,7 @@ int main(int argc, char *argv[]) {return EXIT_LAUNCH_FAILED;}+ deleteDir(backupDir);logMsg("ok");closeLog();#ifdef _WIN32