Compare commits

...

3 Commits

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/qiuchenlymac/929",
"description": "Parallels Desktop 直接发布免注入直装版dmg文件\n,下载dmg文件后, 执行: xattr -cr xxxx.dmg && codesign -fs - xxxx.dmg\n, 然后双击dmg挂载, 双击运行里面的 '安装' App即可。不必手动注入, 这可能会引起不必要的混淆。\n修复问题: \n1. Windows 11 安装时提示 “未知错误”导致无法启动。\n2. ARM电脑上运行PD直接安装macOS虚拟机的时候无法正常启动macOS虚拟机的问题。\n3. 安装Windows 10/11 的时候底层TPM信息丢失无法启动的问题。Intel Mac & ARM Mac 均适用)"
},
{
"language": "en-US",
"title": "Parallels Desktop Provide Direct Install Dmg File",
"downloadLocation": "https://t.me/qiuchenlymac/929",
"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.\nFix problems: \n1. Windows 11 installation prompts “Unknown error” and cannot start.\n2. ARM computers running PD directly install macOS virtual machines cannot start macOS virtual machines normally.\n3. The underlying TPM information is lost and cannot start when installing Windows 10/11. (Both Intel Mac & ARM Mac are applicable)"
}
],
"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