Fix Setapp-99。

- 修复对99版本的setapp破解支持。
- 测试了cleanmymac版本和TablePlus版本的setapp破解
This commit is contained in:
QiuChenly
2025-03-17 02:25:11 +08:00
parent 788cdb821a
commit a9d9a2ced7
3 changed files with 22 additions and 11 deletions

View File

@@ -156,21 +156,30 @@
"packageName": [
"com.macpaw.CleanMyMac-setapp"
],
"appBaseLocate": "/Applications/Setapp/CleanMyMac X.app",
"injectFile": "Announcements.framework/Versions/A/Announcements",
"appBaseLocate": "/Applications/Setapp/CleanMyMac.app",
"injectFile": "ActivationService.framework/Versions/A/ActivationService",
"needCopyToAppDir": true,
"noSignTarget": true,
"autoHandleHelper": true,
"helperFile": [
"/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent",
"/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent"
],
"componentApp": [
"/Contents/Library/LoginItems/CleanMyMac Menu.app"
"/Contents/Library/LaunchServices/com.macpaw.CleanMyMac-setapp.Agent"
],
"tccutil": [
"All"
]
],
"dylibSelect":"CoreInject.dylib"
},
{
"packageName": [
"com.macpaw.CleanMyMac-setapp.Menu"
],
"appBaseLocate": "/Applications/Setapp/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac_5_Setapp_Menu.app",
"injectFile": "ActivationService.framework/Versions/A/ActivationService",
"needCopyToAppDir": true,
"tccutil": [
"All"
],
"dylibSelect":"CoreInject.dylib"
},
{
"packageName": [
@@ -1012,7 +1021,8 @@
"injectFile": "Sparkle.framework/Versions/B/Sparkle",
"needCopyToAppDir": true,
"deepSignApp": true,
"extraShell": "Setapps/setapp.sh"
"extraShell": "Setapps/setapp.sh",
"dylibSelect":"CoreInject.dylib"
},
{
"packageName": [
@@ -1251,7 +1261,8 @@
"needCopyToAppDir": true,
"tccutil": true,
"autoHandleSetapp": true,
"deepSignApp": true
"deepSignApp": true,
"dylibSelect":"CoreInject.dylib"
},
{
"packageName": "io.fadel.Batteries-setapp",

Binary file not shown.

View File

@@ -1,3 +1,3 @@
cp /Applications/Setapp.app/Contents/Library/LaunchServices/Setapp.app/Contents/MacOS/SetappAgent /Applications/Setapp.app/Contents/Library/LaunchServices/Setapp.app/Contents/MacOS/SetappAgent_backup
tool/insert_dylib /Applications/Setapp.app/Contents/Frameworks/91QiuChenly.dylib /Applications/Setapp.app/Contents/Library/LaunchServices/Setapp.app/Contents/MacOS/SetappAgent_backup /Applications/Setapp.app/Contents/Library/LaunchServices/Setapp.app/Contents/MacOS/SetappAgent
tool/insert_dylib /Applications/Setapp.app/Contents/Frameworks/CoreInject.dylib /Applications/Setapp.app/Contents/Library/LaunchServices/Setapp.app/Contents/MacOS/SetappAgent_backup /Applications/Setapp.app/Contents/Library/LaunchServices/Setapp.app/Contents/MacOS/SetappAgent
codesign -fs - /Applications/Setapp.app/Contents/Library/LaunchServices/Setapp.app