#!/bin/bash # # write-info-plist.sh # Zyquo Agent # # Author: Simon-Pierre Boucher # Mail: contact@spboucher.ai # # Writes Contents/Info.plist into an assembled app bundle. # Usage: write-info-plist.sh # set -euo pipefail APP_DIR="$1"; APP_NAME="$2"; EXEC_NAME="$3"; BUNDLE_ID="$4"; VERSION="$5"; BUILD_NUM="$6"; MIN_MACOS="$7" cat > "$APP_DIR/Contents/Info.plist" << PLIST CFBundleName ${APP_NAME} CFBundleDisplayName ${APP_NAME} CFBundleIdentifier ${BUNDLE_ID} CFBundleShortVersionString ${VERSION} CFBundleVersion ${BUILD_NUM} CFBundleExecutable ${EXEC_NAME} CFBundlePackageType APPL CFBundleIconFile AppIcon CFBundleInfoDictionaryVersion 6.0 LSMinimumSystemVersion ${MIN_MACOS} NSHighResolutionCapable NSPrincipalClass NSApplication LSApplicationCategoryType public.app-category.developer-tools NSAppleEventsUsageDescription Zyquo Agent runs AppleScript on your behalf to automate Mac apps (Finder, Notes, Mail, Calendar…). Every script is shown to you and passes the safety policy before it runs. NSHumanReadableCopyright © 2026 Simon-Pierre Boucher. All rights reserved. NSSupportsAutomaticTermination NSSupportsSuddenTermination PLIST echo "Info.plist written to $APP_DIR/Contents/Info.plist"