Skip to content

Commit

Permalink
macOS: Set LSMinimumSystemVersion based on MACOSX_DEPLOYMENT_TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Feb 17, 2020
1 parent b029eb8 commit 04a771a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picard.spec
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ else:
'CFBundleVersion': '%d.%d.%d' % PICARD_VERSION[:3],
'CFBundleShortVersionString': PICARD_VERSION.to_string(short=True),
'LSApplicationCategoryType': 'public.app-category.music',
'LSMinimumSystemVersion': '10.12',
'LSMinimumSystemVersion': os.environ.get('MACOSX_DEPLOYMENT_TARGET', '10.12'),
'NSHighResolutionCapable': 'True',
'NSPrincipalClass': 'NSApplication',
'CFBundleDocumentTypes': [{
Expand Down

0 comments on commit 04a771a

Please sign in to comment.