git-svn-id: svn://db.shs.com.ru/pip@1055 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -421,6 +421,45 @@ macro(__make_copy _cmd _dirs _files _dest)
|
|||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
set(__macos_privacy_text "Application request permission")
|
||||||
|
set(__macos_privacies
|
||||||
|
"<key>NFCReaderUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSAppleMusicUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSBluetoothPeripheralUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSCalendarsUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSCameraUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSContactsUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSFaceIDUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSHealthShareUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSHealthUpdateUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSHomeKitUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSLocationAlwaysUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSLocationWhenInUseUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSMicrophoneUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSMotionUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSPhotoLibraryUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSRemindersUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>
|
||||||
|
<key>NSVideoSubscriberAccountUsageDescription</key>
|
||||||
|
<string>${__macos_privacy_text}</string>"
|
||||||
|
)
|
||||||
#defaultConfig {
|
#defaultConfig {
|
||||||
# resConfigs "ru"
|
# resConfigs "ru"
|
||||||
#}
|
#}
|
||||||
@@ -629,6 +668,7 @@ macro(deploy_target _T)
|
|||||||
set(MACOSX_BUNDLE_INFO_STRING "${${_T}_INFO}")
|
set(MACOSX_BUNDLE_INFO_STRING "${${_T}_INFO}")
|
||||||
set(MACOSX_BUNDLE_BUNDLE_VERSION "6.0")
|
set(MACOSX_BUNDLE_BUNDLE_VERSION "6.0")
|
||||||
set(MACOSX_BUNDLE_SIGNATURE "????")
|
set(MACOSX_BUNDLE_SIGNATURE "????")
|
||||||
|
set(MACOSX_BUNDLE_PRIVACIES "${__macos_privacies}")
|
||||||
set_target_properties(${_T} PROPERTIES MACOSX_BUNDLE TRUE)
|
set_target_properties(${_T} PROPERTIES MACOSX_BUNDLE TRUE)
|
||||||
set_target_properties(${_T} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${_modules_dir}/PIMacOSBundle.plist.in")
|
set_target_properties(${_T} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${_modules_dir}/PIMacOSBundle.plist.in")
|
||||||
set(_AGD "${_DEPLOY_DIR}/${_T}.app")
|
set(_AGD "${_DEPLOY_DIR}/${_T}.app")
|
||||||
|
|||||||
@@ -38,5 +38,6 @@
|
|||||||
<true/>
|
<true/>
|
||||||
<key>NSSupportsSuddenTermination</key>
|
<key>NSSupportsSuddenTermination</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
${MACOSX_BUNDLE_PRIVACIES}
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
Reference in New Issue
Block a user