mirror of
https://git-qiuchenly.yltfspace.com/QiuChenly/corepatch
synced 2025-11-25 01:24:53 +08:00
修复Surge进不去、安装服务增加判断、Paste配置更正。
This commit is contained in:
@@ -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.
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user