#!/bin/bash # # write-info-plist.sh # Zyquo Atlas # # Author: Simon-Pierre Boucher # Mail: contact@spboucher.ai # # Writes Contents/Info.plist into an assembled Zyquo Atlas.app bundle. # Usage: write-info-plist.sh # # ATS posture for a browser: WKWebView loads arbitrary sites (incl. HTTP), so # NSAllowsArbitraryLoadsInWebContent=true opens ONLY the WKWebView content # surface — the app's own provider/API calls stay HTTPS-only (no blanket # NSAllowsArbitraryLoads). Registered as a candidate default browser via # CFBundleURLTypes (http/https) so macOS can offer Zyquo Atlas as a default. # 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.productivity NSHumanReadableCopyright © 2026 Simon-Pierre Boucher. All rights reserved. NSSupportsAutomaticTermination NSSupportsSuddenTermination CFBundleURLTypes CFBundleURLName Web site URL CFBundleTypeRole Viewer CFBundleURLSchemes http https NSUserActivityTypes NSUserActivityTypeBrowsingWeb NSAppTransportSecurity NSAllowsArbitraryLoadsInWebContent PLIST echo "Info.plist written to $APP_DIR/Contents/Info.plist"