Updates to scanner with CVE saving and auto update

This commit is contained in:
Mark Gregory
2026-10-22 17:56:13 +01:00
parent d8878737fd
commit ee37674a2a
9 changed files with 106 additions and 22 deletions
+9
View File
@@ -0,0 +1,9 @@
zip -r ~/Downloads/PHPGuard-Source.zip PHPGuard \
-x '*/.git/*' \
'*/.build/*' \
'*/DerivedData/*' \
'*/build/*' \
'*/dist/*' \
'*/.DS_Store' \
'*.dmg' \
'*.zip'
-11
View File
@@ -1,11 +0,0 @@
#!/bin/zsh
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
CONFIG="${CONFIGURATION:-Debug}"
DERIVED="${DERIVED_DATA_PATH:-$ROOT/.build}"
command -v xcodebuild >/dev/null || { echo "Xcode command line tools required" >&2; exit 1; }
xcodebuild -project "$ROOT/PHPGuard.xcodeproj" -scheme PHPGuard -configuration "$CONFIG" -derivedDataPath "$DERIVED" CODE_SIGNING_ALLOWED=NO build
APP="$DERIVED/Build/Products/$CONFIG/PHPGuard.app"
[[ -d "$APP" ]] || { echo "Built application not found: $APP" >&2; exit 1; }
echo "Built: $APP"
if [[ "${LAUNCH_AFTER_BUILD:-1}" == "1" ]]; then open "$APP"; fi
+1
View File
@@ -0,0 +1 @@
xcodebuild -list -project PHPGuard.xcodeproj