Skip to content

Commit

Permalink
enable retina support for MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkassner committed Apr 4, 2017
1 parent bf94e31 commit 39a0381
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
6 changes: 5 additions & 1 deletion deployment/deploy_capture/bundle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ if platform.system() == 'Darwin':
app = BUNDLE(coll,
name='Pupil Capture.app',
icon='pupil-capture.icns',
version = str(dpkg_deb_version()))
version = str(dpkg_deb_version()),
info_plist={
'NSHighResolutionCapable': 'True'
},
)


elif platform.system() == 'Linux':
Expand Down
7 changes: 6 additions & 1 deletion deployment/deploy_player/bundle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ if platform.system() == 'Darwin':
app = BUNDLE(coll,
name='Pupil Player.app',
icon='pupil-player.icns',
version = str(dpkg_deb_version()))
version = str(dpkg_deb_version()),
info_plist={
'NSHighResolutionCapable': 'True'
},
)


elif platform.system() == 'Linux':
a = Analysis(['../../pupil_src/player/main.py'],
Expand Down
7 changes: 6 additions & 1 deletion deployment/deploy_service/bundle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ if platform.system() == 'Darwin':
app = BUNDLE(coll,
name='Pupil Service.app',
icon='pupil-service.icns',
version = str(dpkg_deb_version()))
version = str(dpkg_deb_version()),
info_plist={
'NSHighResolutionCapable': 'True'
},
)



elif platform.system() == 'Linux':
Expand Down

0 comments on commit 39a0381

Please sign in to comment.