2024-12-02 00:25:48 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
|
|
|
<plist version="1.0">
|
|
|
|
|
<dict>
|
|
|
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
|
|
|
<string>English</string>
|
|
|
|
|
<key>CFBundleExecutable</key>
|
|
|
|
|
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
|
|
|
|
|
<key>CFBundleGetInfoString</key>
|
|
|
|
|
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
|
|
|
|
<key>CFBundleIconFile</key>
|
|
|
|
|
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
|
|
|
|
|
<key>CFBundleIdentifier</key>
|
|
|
|
|
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
|
|
|
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
|
|
|
<string>6.0</string>
|
|
|
|
|
<key>CFBundleName</key>
|
2026-09-24 16:05:20 +08:00
|
|
|
<string>{{ default.strings.app_name | xml_escape }}</string>
|
2024-12-02 00:25:48 +08:00
|
|
|
<key>CFBundlePackageType</key>
|
|
|
|
|
<string>APPL</string>
|
|
|
|
|
<key>CFBundleShortVersionString</key>
|
|
|
|
|
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
|
|
|
|
<key>CFBundleSignature</key>
|
|
|
|
|
<string>????</string>
|
|
|
|
|
<key>CFBundleVersion</key>
|
|
|
|
|
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
|
|
|
|
|
<key>CSResourcesFileMapped</key>
|
|
|
|
|
<true/>
|
|
|
|
|
<key>NSHumanReadableCopyright</key>
|
2026-09-24 16:05:20 +08:00
|
|
|
<string>MIT/Expat License - Copyright (C) 2026 Gary Wang</string>
|
|
|
|
|
<!--
|
|
|
|
|
CFBundleLocalizations is generated from the metadata localization languages (the metaglot
|
|
|
|
|
"langs" list), while this field by definition describes the application's language
|
|
|
|
|
availability. This deviation works around an upstream Qt bug: since the Qt 6.7.0 refactor,
|
|
|
|
|
the CMake function _qt_internal_store_languages_from_ts_files_in_targets loses the parsed
|
|
|
|
|
TS language codes (a missing list(APPEND)), so Qt's own CFBundleLocalizations generation
|
|
|
|
|
yields an empty list. Consistency between the metadata languages and the application
|
|
|
|
|
languages is maintained manually at release time.
|
|
|
|
|
TODO: drop this workaround and let Qt generate CFBundleLocalizations itself once the
|
|
|
|
|
upstream bug is fixed and the fix ships in the CI toolchain.
|
|
|
|
|
-->
|
2025-04-28 00:51:17 +08:00
|
|
|
<key>CFBundleLocalizations</key>
|
|
|
|
|
<array>
|
2026-09-24 16:05:20 +08:00
|
|
|
{% for lang in langs %}
|
|
|
|
|
<string>{{ lang }}</string>
|
|
|
|
|
{% endfor %}
|
2025-04-28 00:51:17 +08:00
|
|
|
</array>
|
2024-12-02 00:25:48 +08:00
|
|
|
<key>CFBundleDocumentTypes</key>
|
|
|
|
|
<array>
|
|
|
|
|
<!-- JPEG -->
|
|
|
|
|
<dict>
|
|
|
|
|
<key>CFBundleTypeName</key>
|
|
|
|
|
<string>JPEG Image</string>
|
|
|
|
|
<key>CFBundleTypeExtensions</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>jpg</string>
|
|
|
|
|
<string>jpeg</string>
|
|
|
|
|
<string>jfif</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeMIMETypes</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>image/jpeg</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeRole</key>
|
|
|
|
|
<string>Viewer</string>
|
|
|
|
|
</dict>
|
|
|
|
|
<!-- PNG -->
|
|
|
|
|
<dict>
|
|
|
|
|
<key>CFBundleTypeName</key>
|
|
|
|
|
<string>PNG Image</string>
|
|
|
|
|
<key>CFBundleTypeExtensions</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>png</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeMIMETypes</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>image/png</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeRole</key>
|
|
|
|
|
<string>Viewer</string>
|
|
|
|
|
</dict>
|
|
|
|
|
<!-- WebP -->
|
|
|
|
|
<dict>
|
|
|
|
|
<key>CFBundleTypeName</key>
|
|
|
|
|
<string>WebP Image</string>
|
|
|
|
|
<key>CFBundleTypeExtensions</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>webp</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeMIMETypes</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>image/webp</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeRole</key>
|
|
|
|
|
<string>Viewer</string>
|
|
|
|
|
</dict>
|
|
|
|
|
<!-- GIF -->
|
|
|
|
|
<dict>
|
|
|
|
|
<key>CFBundleTypeName</key>
|
|
|
|
|
<string>GIF Image</string>
|
|
|
|
|
<key>CFBundleTypeExtensions</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>gif</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeMIMETypes</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>image/gif</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeRole</key>
|
|
|
|
|
<string>Viewer</string>
|
|
|
|
|
</dict>
|
|
|
|
|
<!-- SVG -->
|
|
|
|
|
<dict>
|
|
|
|
|
<key>CFBundleTypeName</key>
|
|
|
|
|
<string>SVG Image</string>
|
|
|
|
|
<key>CFBundleTypeExtensions</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>svg</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeMIMETypes</key>
|
|
|
|
|
<array>
|
|
|
|
|
<string>image/svg+xml</string>
|
|
|
|
|
</array>
|
|
|
|
|
<key>CFBundleTypeRole</key>
|
|
|
|
|
<string>Viewer</string>
|
|
|
|
|
</dict>
|
|
|
|
|
</array>
|
|
|
|
|
</dict>
|
|
|
|
|
</plist>
|