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-beta32")5.0.0-beta32; for preview versions a dot is inserted, so v5.0.0-preview95 becomes 5.0.0-preview.95)50032 for v5.0.0-beta32, 500095 for v5.0.0-preview95)If Se.cs contains:
public static string Version { get; set; } = "v5.0.0-beta32";
The script will update Info.plist with:
CFBundleShortVersionString: 5.0.0-beta32CFBundleVersion: 50032This script is automatically called during the macOS build process in the GitHub Actions workflow before creating the app bundle.