修正shell执行的问题,支持Stash 4.0破解

This commit is contained in:
秋城落叶
2025-08-05 15:35:41 +08:00
parent de75f8ddc8
commit 3d3cb6d795
4 changed files with 34 additions and 18 deletions

Binary file not shown.

View File

@@ -355,20 +355,25 @@
},
{
"packageName": "ws.stash.app.mac",
"appBaseLocate": "/Applications/Stash.app",
"injectFile": "Sparkle.framework/Versions/B/Sparkle",
"needCopyToAppDir": true,
"noSignTarget": true,
"autoHandleHelper": true,
"helperNoInject": true,
"dylibSelect": "CoreInject.dylib",
"helperFile": "/Contents/Library/LaunchServices/ws.stash.app.mac.daemon.helper",
"tccutil": [
"All"
"description": "Stash 是 Mac 上的一款强大的密码管理器,支持多种密码管理方式,包括 1Password、LastPass、Dashlane 等。",
"helperFile": [
"/Contents/Library/LaunchServices/ws.stash.app.mac.daemon.helper"
],
"downloadUrl": [
{
"version": "3.1.0",
"url": "https://mac-release-static.stash.ws/Stash-build-389.zip"
},
{
"version": "4.0.0",
"url": "https://releases.stash.ws/Stash-build-405.zip"
}
],
"supportVersion": [
"3.1.0"
]
"3.1.0",
"4.0.0"
],
"feedUrl": "https://mac-release.stash.ws/appcast.xml"
},
{
"packageName": "com.firecore.infuse"

Binary file not shown.

23
tool/cleanup_pd.sh Normal file → Executable file
View File

@@ -1,22 +1,33 @@
#!/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
echo "[*] 正在停止 Parallels Desktop 主程序..."
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 &>/dev/null
launchctl stop /Library/LaunchDaemons/com.parallels.desktop.launchdaemon.plist 2>/dev/null || true
fi
if [ -f "/var/run/prl_*" ]; then
rm -f "/var/run/prl_*"
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 主程序"
echo "[*] Parallels Desktop 主程序已停止"
license_file="/Library/Preferences/Parallels/licenses.json"
if [ -f "$license_file" ]; then
chflags -R 0 "$license_file"
echo "[*] 清理许可证文件..."
chflags -R 0 "$license_file" 2>/dev/null || true
rm -f "$license_file"
echo "[*] 许可证文件已删除"
fi
exit 0