Updates to scanner with CVE saving and auto update

This commit is contained in:
Mark Gregory
2026-10-22 18:01:41 +01:00
parent ee37674a2a
commit 2f5e67add3
7 changed files with 48 additions and 3 deletions
+10 -1
View File
@@ -21,7 +21,16 @@ APP="$DERIVED/Build/Products/Debug/PHPGuard.app"
exit 1
}
"$ROOT/Scripts/install-app-icon.sh" "$APP"
# Xcode generates AppIcon.icns from Assets.xcassets.
# Verify that the compiled application contains its icon.
ICON="$APP/Contents/Resources/AppIcon.icns"
if [[ ! -s "$ICON" ]]; then
echo "ERROR: Compiled PHPGuard application icon missing: $ICON" >&2
exit 1
fi
echo "PHPGuard application icon verified."
echo
echo "Build complete: $APP"
+9 -1
View File
@@ -1 +1,9 @@
xcodebuild -list -project PHPGuard.xcodeproj
#!/bin/zsh
set -euo pipefail
cd "$(dirname "$0")/.."
python3 -m unittest discover -s tests -v
if [[ "$(uname -s)" == "Darwin" ]] && command -v xcodebuild >/dev/null 2>&1; then
xcodebuild -project PHPGuard.xcodeproj -scheme PHPGuard -configuration Debug -derivedDataPath .build CODE_SIGNING_ALLOWED=NO build
else
echo "SKIP: Xcode build requires macOS/Xcode"
fi