更新 config.json,添加 Parallels Desktop 直接发布免注入直装版 dmg 文件的通知信息,删除不再使用的清理脚本和 entitlements 文件,修正 readme.md 中的格式和描述。

This commit is contained in:
QiuChenly
2025-10-19 22:17:29 +08:00
parent 3349360fe2
commit 0295cca3a2
5 changed files with 54 additions and 111 deletions

View File

@@ -38,20 +38,22 @@
{
"packageName": "com.parallels.desktop.console",
"supportVersion": [
"18.3.3",
"20.3.0",
"20.3.1",
"20.3.2",
"20.4.0",
"20.4.1",
"26.0.0",
"26.0.1",
"26.1.0",
"26.1.1"
"publishfile"
],
"notice": [
{
"language": "zh-CN",
"title": "Parallels Desktop 直接发布免注入直装版dmg文件",
"downloadLocation": "https://t.me/c/2311066000/492383",
"description": "Parallels Desktop 直接发布免注入直装版dmg文件\n,下载dmg文件后, 执行: xattr -cr xxxx.dmg && codesign -fs - xxxx.dmg\n, 然后双击dmg挂载, 双击运行里面的 '安装' App即可。不必手动注入, 这可能会引起不必要的混淆。"
},
{
"language": "en-US",
"title": "Parallels Desktop Provide Direct Install Dmg File",
"downloadLocation": "https://t.me/c/2311066000/492383",
"description": "Parallels Desktop Provide Direct Install Dmg File\n, Download the dmg file and execute: xattr -cr xxxx.dmg && codesign -fs - xxxx.dmg\n, then double click the dmg file to mount, double click the 'Install' App inside to install. No need to manually inject, this may cause unnecessary confusion."
}
],
"deepSignApp": true,
"entitlements": "VM.entitlements",
"extraShell": "cleanup_pd.sh",
"feedUrlAll": "https://desktop.parallels.cn/api/v1/product_permissions?license_flags=1&license_edition=0&product_locale=zh_CN&os=mac&product_type=pdfm&os_version=26.1.0&product_arch=x86_64&product_version=20.4.1-55996&is_beta=0",
"feedUrl": "https://update.parallels.com/desktop/v26/parallels/parallels_updates.xml",
"downloadUrl": [
@@ -75,17 +77,6 @@
"url": "https://download.parallels.com/desktop/v26/26.1.0-57287/ParallelsDesktop-26.1.0-57287.dmg",
"version": "26.1.0-57287"
}
],
"childApp": [
{
"packageName": "com.parallels.desktop.console",
"appBaseLocate": "/Contents/MacOS/Parallels Service.app"
},
{
"packageName": "com.parallels.desktop.console",
"appBaseLocate": "/Contents/MacOS/Parallels VM.app",
"entitlements": "VM.entitlements"
}
]
},
{
@@ -674,7 +665,10 @@
"noDeep": true
},
{
"packageName": ["com.adobe.lightroomCC","com.adobe.mas.lightroomCC"]
"packageName": [
"com.adobe.lightroomCC",
"com.adobe.mas.lightroomCC"
]
},
{
"packageName": "com.adobe.LightroomClassicCC7",

View File

@@ -3,6 +3,7 @@
</a>
## 荣誉贡献榜
![GitHub contributors](https://img.shields.io/github/contributors/QiuChenly/InjectLib.svg?style=flat-square)
<a href="https://github.com/QiuChenly/InjectLib/graphs/contributors">
@@ -26,8 +27,6 @@
拒绝翻墙从我做起, QQ 群也可反馈问题:
一群 1042610918 (已满)
二群 1049674046
2. 继续向下阅读并访问文档说明使用:
@@ -73,9 +72,9 @@ QQ群:
- CMakeLists 环境变量
- set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13")
- 检查二进制文件的最低 macOS 版本兼容性
- ```find . -name "*.*" | xargs otool -l | grep -E "(minos|sdk)"```
- `find . -name "*.*" | xargs otool -l | grep -E "(minos|sdk)"`
***
---
# 项目存在的目的
@@ -140,4 +139,3 @@ QQ群:
她不是不喜欢玩游戏,她只是不想和不喜欢的人玩游戏。<br/>
这段 Repo 不会删,警钟长鸣。但是你要问我如果再给我一次机会还会不会选 18 岁妹妹我的回答是“yes i do.”

Binary file not shown.

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.smartcard</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.hypervisor</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.device.usb</key>
<true/>
</dict>
</plist>

View File

@@ -1,33 +0,0 @@
#!/bin/bash
set -e
echo "[*] 开始清理 Parallels Desktop..."
if pgrep -x "prl_client_app" &>/dev/null; then
pkill -f "prl_client_app" 2>/dev/null || true
fi
if pgrep -x "prl_disp_service" &>/dev/null; then
pkill -f "prl_disp_service" 2>/dev/null || true
if [ -f "/Library/LaunchDaemons/com.parallels.desktop.launchdaemon.plist" ]; then
launchctl stop /Library/LaunchDaemons/com.parallels.desktop.launchdaemon.plist 2>/dev/null || true
fi
echo "[*] 清理 /var/run 目录下的 prl_ 文件..."
if ls /var/run/prl_* 1>/dev/null 2>&1; then
rm -f /var/run/prl_*
fi
fi
echo "[*] Parallels Desktop 主程序已停止"
license_file="/Library/Preferences/Parallels/licenses.json"
if [ -f "$license_file" ]; then
echo "[*] 清理许可证文件..."
chflags -R 0 "$license_file" 2>/dev/null || true
rm -f "$license_file"
echo "[*] 许可证文件已删除"
fi
exit 0