From de89f86a265d80b564b6b0a9559cc8bc9aeda074 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 14 Feb 2018 22:28:36 -0600 Subject: [PATCH] Fix studio for HiDPI on Mac --- src/nostalgia/studio/CMakeLists.txt | 7 +------ src/nostalgia/studio/Info.plist | 9 ++++++++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/nostalgia/studio/CMakeLists.txt b/src/nostalgia/studio/CMakeLists.txt index 7edf9507..9c74080f 100644 --- a/src/nostalgia/studio/CMakeLists.txt +++ b/src/nostalgia/studio/CMakeLists.txt @@ -24,12 +24,7 @@ target_link_libraries( ) if(APPLE) - install( - FILES - Info.plist - DESTINATION - ${NOSTALGIA_DIST_MAC_APP_CONTENTS} - ) + set_target_properties(nostalgia-studio PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) endif() install( diff --git a/src/nostalgia/studio/Info.plist b/src/nostalgia/studio/Info.plist index 0911a12d..3dc75233 100644 --- a/src/nostalgia/studio/Info.plist +++ b/src/nostalgia/studio/Info.plist @@ -16,7 +16,14 @@ 1.2.8 LSMinimumSystemVersion 10.13.0 + + + NSPrincipalClass + NSApplication + NSHighResolutionCapable + True + NSHumanReadableCopyright - Copyright (c) 2016-2017 Gary Talent <gtalent2@gmail.com> + Copyright (c) 2016-2018 Gary Talent <gtalent2@gmail.com>