Add SSH server runtime to public build

This commit is contained in:
admin committed 2026-11-12 14:28:10 +08:00
1 parent 71e5d72561
commit 73fd922307
6 files changed
+138 -5

No files matched your search

+9
View File
@@ -118,6 +118,15 @@ mkdir -p "$APP/Frameworks"
cp "$DYLIB" "$APP/Frameworks/FilzaApplySandboxExt.dylib"
codesign --remove-signature "$APP/Frameworks/FilzaApplySandboxExt.dylib" 2>/dev/null || true
# SSH server runtime is included in both public and developer builds.
if [[ -f "$REPO_ROOT/vendor/libssh/libssh.4.dylib" ]]; then
cp "$REPO_ROOT/vendor/libssh/libssh.4.dylib" "$APP/Frameworks/libssh.4.dylib"
fi
if [[ -d "$REPO_ROOT/vendor/openssl.framework" ]]; then
rm -rf "$APP/Frameworks/openssl.framework"
cp -R "$REPO_ROOT/vendor/openssl.framework" "$APP/Frameworks/openssl.framework"
fi
if [[ "${WQ_TERMINAL:-0}" == "full" ]]; then
ASHELL_IPA="${ASHELL_IPA:-$HOME/Downloads/Terminal.ipa}"
"$REPO_ROOT/scripts/prepare_dev_terminal.sh" "$APP" "$ASHELL_IPA"