From ca2adc0ecbdf4694dcf062fcc14ea67510919963 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Jul 2019 15:03:30 +0200 Subject: Mac: Set test app bundles as high resolution capable This fixes the nasty title bar scaling. --- resources/Info.plist.in | 20 ++++++++++++++++++++ wscript | 6 ++++++ 2 files changed, 26 insertions(+) create mode 100644 resources/Info.plist.in diff --git a/resources/Info.plist.in b/resources/Info.plist.in new file mode 100644 index 0000000..a08dbd0 --- /dev/null +++ b/resources/Info.plist.in @@ -0,0 +1,20 @@ + + + + + CFBundleIdentifier + net.drobilla.pugl.@NAME@ + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1.0 + MinimumOSVersion + 10.6 + CFBundleDisplayName + @NAME@ + CFBundleName + @NAME@ + NSHighResolutionCapable + + + diff --git a/wscript b/wscript index d0697c2..2886958 100644 --- a/wscript +++ b/wscript @@ -159,6 +159,12 @@ def build(bld): for prog in progs: if bld.env.TARGET_PLATFORM == 'darwin': target = '{0}.app/Contents/MacOS/{0}'.format(prog) + + bld(features = 'subst', + source = 'resources/Info.plist.in', + target = '{}.app/Contents/Info.plist'.format(prog), + install_path = '', + NAME = prog) else: target = prog -- cgit v1.2.1