Fix studio for HiDPI on Mac

This commit is contained in:
Gary Talent 2018-02-14 22:28:36 -06:00
parent 9d013ff481
commit de89f86a26
2 changed files with 9 additions and 7 deletions

View File

@ -24,12 +24,7 @@ target_link_libraries(
) )
if(APPLE) if(APPLE)
install( set_target_properties(nostalgia-studio PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
FILES
Info.plist
DESTINATION
${NOSTALGIA_DIST_MAC_APP_CONTENTS}
)
endif() endif()
install( install(

View File

@ -16,7 +16,14 @@
<string>1.2.8</string> <string>1.2.8</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>10.13.0</string> <string>10.13.0</string>
<!-- HiDPI -->
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>Copyright (c) 2016-2017 Gary Talent &lt;gtalent2@gmail.com&gt;</string> <string>Copyright (c) 2016-2018 Gary Talent &lt;gtalent2@gmail.com&gt;</string>
</dict> </dict>
</plist> </plist>