installer/macBundle/README.md
This script automatically updates the Info.plist file with version information extracted from Se.cs.
./update-plist-version.sh [path-to-Se.cs] [path-to-Info.plist]
If no arguments are provided, it uses default paths:
src/UI/Logic/Config/Se.csinstaller/macBundle/SubtitleEdit.app/Contents/Info.plist"v5.0.0-preview95")5.0.0-preview.95 (user-visible version)500095 (numeric-only build number)If Se.cs contains:
public static string Version { get; set; } = "v5.0.0-preview95";
The script will update Info.plist with:
CFBundleShortVersionString: 5.0.0-preview.95CFBundleVersion: 500095This script is automatically called during the macOS build process in the GitHub Actions workflow before creating the app bundle.