diff --git a/config.json b/config.json index 48485ba..7e706a5 100644 --- a/config.json +++ b/config.json @@ -1015,10 +1015,7 @@ "injectFile": "BFPageControl.framework/Versions/A/BFPageControl" }, { - "packageName": "com.wiheads.paste", - "supportVersion": [ - "5.0.7" - ] + "packageName": "com.wiheads.paste" }, { "packageName": "cn.better365.ishot", diff --git a/tool/CoreInject.dylib b/tool/CoreInject.dylib index b2399cc..746a821 100755 Binary files a/tool/CoreInject.dylib and b/tool/CoreInject.dylib differ diff --git a/上帝之眼/install_service.sh b/上帝之眼/install_service.sh index 0c78453..570df6d 100644 --- a/上帝之眼/install_service.sh +++ b/上帝之眼/install_service.sh @@ -43,6 +43,15 @@ install_files() { xattr -cr ./macOSGod xattr -cr $qiuchenly codesign -fs - --all-architectures --deep $qiuchenly + + # 检查目录是否存在 + if [ ! -d "/usr/local/bin" ]; then + mkdir -p /usr/local/bin + fi + + if [ ! -d "/usr/local/lib" ]; then + mkdir -p /usr/local/lib + fi # 复制可执行文件 cp ./macOSGod /usr/local/bin/