From c97259a634e7cf0a859538bed7f067ec084ffc3b Mon Sep 17 00:00:00 2001 From: hstyi Date: Wed, 22 Jan 2025 21:11:02 +0800 Subject: [PATCH] feat: xcrun stapler staple --- build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index aeac5ed..642ffdc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -383,6 +383,14 @@ tasks.register("dist") { "--wait", ) } + + // 绑定公证信息 + exec { + commandLine( + "/usr/bin/xcrun", + "stapler", "staple", macOSFinalFilePath, + ) + } } } }