修复Surge进不去、安装服务增加判断、Paste配置更正。

This commit is contained in:
秋城落叶
2025-08-12 11:16:29 +08:00
parent 026a979579
commit 048bba9ab8
3 changed files with 10 additions and 4 deletions

View File

@@ -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",

Binary file not shown.

View File

@@ -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/