chmod: /Applications/Setapp/CleanMyMac X.app: No such file or directory
xattr: No such file: /Applications/Setapp/CleanMyMac X.app
Traceback (most recent call last):
File "/Volumes/Code/InjectLib/main.py", line 464, in <module>
main()
~~~~^^
File "/Volumes/Code/InjectLib/main.py", line 320, in main
["sudo", "pkill", "-f", getAppMainExecutable(app_base_locate)]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Volumes/Code/InjectLib/main.py", line 127, in getAppMainExecutable
with open(f"{app_base}/Contents/Info.plist", "rb") as f:
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Setapp/CleanMyMac X.app/Contents/Info.plist'
疑似因为 .app 已改名为 CleanMyMac.app
手动修改 config.json 依然无法工作
cp: /Applications/Setapp/CleanMyMac.app/Contents/Frameworks/Announcements.framework/Versions/A/Announcements: No such file or directory
Traceback (most recent call last):
File "/Volumes/Code/InjectLib/main.py", line 464, in <module>
main()
~~~~^^
File "/Volumes/Code/InjectLib/main.py", line 372, in main
f"{app_base_locate}{i}/Contents/MacOS/{getAppMainExecutable(app_base_locate+i)}"
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/Volumes/Code/InjectLib/main.py", line 127, in getAppMainExecutable
with open(f"{app_base}/Contents/Info.plist", "rb") as f:
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Setapp/CleanMyMac.app/Contents/Library/LoginItems/CleanMyMac Menu.app/Contents/Info.plist'
检查事项
描述问题
疑似因为 .app 已改名为 CleanMyMac.app
手动修改 config.json 依然无法工作
最小复现
系统情况
系统信息
是否修改了nvram的内核启动参数(黑苹果)
No response
是否使用了需要修改系统文件的工具(黑苹果)
No response
期望行为
能完成注入并激活
额外信息
https://qiuchenlyopensource.github.io/Documentaions/setapp.html#reinject-after-updating-or-downloading 没太看懂这句话意思是重新执行 main.py 注入 com.setapp.DesktopClient 吗
Crash Log
No response