mirror of
https://git-qiuchenly.yltfspace.com/QiuChenly/corepatch
synced 2025-11-25 05:40:27 +08:00
Add SenPlayer 5.6.4
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -8,7 +8,6 @@ Diff*.py
|
||||
tool/GiftGot.py
|
||||
config_pd.json
|
||||
tool/pd*.sh
|
||||
tool/ParallelsDesktop
|
||||
tool/没脑子和不高兴
|
||||
tool/Parallels_原始人_起洞.command
|
||||
tool/Gift*
|
||||
|
||||
14
config.json
14
config.json
@@ -29,6 +29,17 @@
|
||||
"bridgeFile": "/Contents/Frameworks/"
|
||||
},
|
||||
"AppList": [
|
||||
{
|
||||
"packageName": "com.parallels.desktop.console",
|
||||
"onlysh":true,
|
||||
"extraShell":"ParallelsDesktop/GenshineStart!.command",
|
||||
"supportVersion":[
|
||||
"20.3.0",
|
||||
"20.3.1",
|
||||
"20.3.2",
|
||||
"20.4.0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"packageName": "com.nssurge.surge-mac",
|
||||
"helperFile": [
|
||||
@@ -847,7 +858,8 @@
|
||||
"5.6.0",
|
||||
"5.6.1",
|
||||
"5.6.2",
|
||||
"5.6.3"
|
||||
"5.6.3",
|
||||
"5.6.4"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -27,6 +27,8 @@ def run_command(command, shell=True, check_error=True):
|
||||
error_msg = result.stderr.strip() or _("command_failed").format(command)
|
||||
if "No such file or directory" in error_msg or "command not found" in error_msg:
|
||||
print(Color.red(f"[{_('error')}] {error_msg}"))
|
||||
else:
|
||||
print(Color.red(f"[{_('error')}] {error_msg}"))
|
||||
return False
|
||||
return True
|
||||
except Exception as e:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
4
tool/ParallelsDesktop/GenshineStart!.command
Executable file
4
tool/ParallelsDesktop/GenshineStart!.command
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")" || exit 1
|
||||
sudo -E bash ./PD_Crack_AllInOne.sh
|
||||
131
tool/ParallelsDesktop/PD_Crack_AllInOne.sh
Executable file
131
tool/ParallelsDesktop/PD_Crack_AllInOne.sh
Executable file
@@ -0,0 +1,131 @@
|
||||
#!/bin/bash
|
||||
|
||||
COLOR_INFO='\e[0;34m'
|
||||
COLOR_ERR='\e[0;35m'
|
||||
COLOR_VERSION='\e[0;36m'
|
||||
COLOR_TITLE='\e[0;33m'
|
||||
COLOR_SUCCESS='\e[0;32m'
|
||||
NOCOLOR='\e[0m'
|
||||
PDFM_VER="20.4.0-55980"
|
||||
|
||||
printf "${COLOR_TITLE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NOCOLOR}\n"
|
||||
printf "${COLOR_VERSION}Developer: QiuChenly / 秋城落叶${NOCOLOR}\n"
|
||||
printf "${COLOR_VERSION}Telegram: https://t.me/qiuchenlymac${NOCOLOR}\n"
|
||||
printf "${COLOR_VERSION}TG聊天频道: https://t.me/+VvqTr-2EFaZhYzA1${NOCOLOR}\n"
|
||||
printf "${COLOR_VERSION}这是PD官方为华为专门开发的全链路国产自研 HarmonyOS : 鸿蒙星河版 虚拟机, 再有人黑我华为试试?这PC市场就你苹果一个人做奥?你看你美国人淘汰的那个光刻机技术都崩华为脸上了😡! 哎哟兄弟,真对不住奥!我让ASML偷偷多卖两台EUV给你刻麒麟!没事你都叫我兄弟了,我拿20nm EUV多刻几次达到3nm国际领先水平实现弯道超车不就完了?你说这扯不扯。${NOCOLOR}\n"
|
||||
printf "${COLOR_TITLE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NOCOLOR}\n"
|
||||
|
||||
printf "${COLOR_INFO}[*] 当前推荐安装的版本是: https://download.parallels.com/desktop/v20/${PDFM_VER}/ParallelsDesktop-${PDFM_VER}.dmg${NOCOLOR}\n"
|
||||
|
||||
ParaHome='/Applications/Parallels Desktop.app'
|
||||
DYLIB="../CoreInject.dylib"
|
||||
|
||||
[ ! -f "./$DYLIB" ] && {
|
||||
printf "${COLOR_ERR}[x] 找不到 $DYLIB 文件${NOCOLOR}\n"
|
||||
exit 1
|
||||
}
|
||||
[ ! -f "../GenShineImpactStarter" ] && {
|
||||
printf "${COLOR_ERR}[x] 找不到 GenShineImpactStarter 工具${NOCOLOR}\n"
|
||||
exit 1
|
||||
}
|
||||
[ ! -d "$ParaHome" ] && {
|
||||
printf "${COLOR_ERR}[x] 找不到 Parallels Desktop 应用${NOCOLOR}\n"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if pgrep -x "prl_disp_service" &>/dev/null; then
|
||||
printf "${COLOR_INFO}[*] 正在停止 Parallels Desktop 主程序...${NOCOLOR}\n"
|
||||
pkill -9 prl_client_app &>/dev/null
|
||||
"${ParaHome}/Contents/MacOS/Parallels Service" service_stop &>/dev/null
|
||||
sleep 1
|
||||
launchctl stop /Library/LaunchDaemons/com.parallels.desktop.launchdaemon.plist &>/dev/null
|
||||
sleep 1
|
||||
pkill -9 prl_disp_service &>/dev/null
|
||||
sleep 1
|
||||
rm -f "/var/run/prl_*"
|
||||
fi
|
||||
|
||||
xattr -cr "./$DYLIB" ./* &>/dev/null
|
||||
|
||||
sudo codesign -f -s - --timestamp=none --all-architectures "./$DYLIB"
|
||||
sudo cp "./$DYLIB" "${ParaHome}/Contents/Frameworks/$DYLIB"
|
||||
|
||||
chmod +x ../GenShineImpactStarter
|
||||
|
||||
patch_file() {
|
||||
local file="$1"
|
||||
printf "${COLOR_INFO}[*] 处理文件: $(basename "$file")${NOCOLOR}\n"
|
||||
|
||||
# 检查文件是否存在
|
||||
if [ ! -f "$file" ]; then
|
||||
printf "${COLOR_ERR}[x] 文件不存在: $file${NOCOLOR}\n"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# 创建备份文件
|
||||
if [ ! -f "${file}_backup" ]; then
|
||||
if ! cp "$file" "${file}_backup"; then
|
||||
printf "${COLOR_ERR}[x] 创建备份文件失败: ${file}_backup${NOCOLOR}\n"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# 恢复原文件
|
||||
if ! cp "${file}_backup" "$file"; then
|
||||
printf "${COLOR_ERR}[x] 恢复原文件失败: $file${NOCOLOR}\n"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# 执行注入操作
|
||||
if ! ../GenShineImpactStarter insert "@rpath/$DYLIB" "${file}_backup" "$file" &>/dev/null; then
|
||||
printf "${COLOR_ERR}[x] 注入操作失败: $(basename "$file")${NOCOLOR}\n"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# 重新签名
|
||||
if ! sudo codesign -fs - --entitlements './VM.entitlements' "$file"; then
|
||||
printf "${COLOR_ERR}[x] 代码签名失败: $(basename "$file")${NOCOLOR}\n"
|
||||
return 1
|
||||
fi
|
||||
|
||||
printf "${COLOR_SUCCESS}[✓] 文件处理成功: $(basename "$file")${NOCOLOR}\n"
|
||||
return 0
|
||||
}
|
||||
|
||||
# 处理各个文件
|
||||
if ! patch_file "$ParaHome/Contents/MacOS/Parallels Service.app/Contents/MacOS/prl_disp_service"; then
|
||||
printf "${COLOR_ERR}[x] 处理 prl_disp_service 失败,脚本退出${NOCOLOR}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! patch_file "$ParaHome/Contents/MacOS/Parallels VM.app/Contents/MacOS/prl_vm_app"; then
|
||||
printf "${COLOR_ERR}[x] 处理 prl_vm_app 失败,脚本退出${NOCOLOR}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! patch_file "$ParaHome/Contents/MacOS/prl_client_app"; then
|
||||
printf "${COLOR_ERR}[x] 处理 prl_client_app 失败,脚本退出${NOCOLOR}\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
license_file="/Library/Preferences/Parallels/licenses.json"
|
||||
[ -f "$license_file" ] && {
|
||||
chflags -R 0 "$license_file"
|
||||
rm -f "$license_file"
|
||||
}
|
||||
|
||||
if ! pgrep -x "prl_disp_service" &>/dev/null; then
|
||||
printf "${COLOR_INFO}[*] 正在启动 Parallels Service ...${NOCOLOR}\n"
|
||||
"$ParaHome/Contents/MacOS/Parallels Service" service_start &>/dev/null
|
||||
for ((i = 0; i < 10; ++i)); do
|
||||
pgrep -x "prl_disp_service" &>/dev/null && break
|
||||
sleep 2
|
||||
done
|
||||
! pgrep -x "prl_disp_service" &>/dev/null && printf "${COLOR_ERR}[x] 启动 Service 失败.${NOCOLOR}\n"
|
||||
fi
|
||||
|
||||
"$ParaHome/Contents/MacOS/prlsrvctl" web-portal signout &>/dev/null
|
||||
"$ParaHome/Contents/MacOS/prlsrvctl" set --cep off &>/dev/null
|
||||
"$ParaHome/Contents/MacOS/prlsrvctl" set --allow-attach-screenshots off &>/dev/null
|
||||
|
||||
printf "${COLOR_SUCCESS}[*] 破解完成!${NOCOLOR}\n"
|
||||
16
tool/ParallelsDesktop/VM.entitlements
Normal file
16
tool/ParallelsDesktop/VM.entitlements
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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>
|
||||
16
tool/ParallelsDesktop/怎么激活?点我|HOW_TO_CRACK.txt
Normal file
16
tool/ParallelsDesktop/怎么激活?点我|HOW_TO_CRACK.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
1. double click "GenshineStart!.command" and input your admin's password.
|
||||
|
||||
qiuchenly GMT+8
|
||||
Tai Shang Lao Jun bless u
|
||||
|
||||
双击 GenshineStart!.command 并输入你的管理员账户密码, 自动激活.
|
||||
|
||||
秋城落叶
|
||||
at Washington D.C. 15 Street. 06/27/2025
|
||||
太上老君发力!
|
||||
|
||||
!注意事项
|
||||
允许 程序 “GenShineImpactStarter” 管理App。
|
||||
允许 程序 “GenShineImpactStarter” 拥有完全磁盘访问权限。
|
||||
允许 终端 App拥有完全磁盘访问权限。
|
||||
否则会报错。
|
||||
Reference in New Issue
Block a user