Revert change to set PYTHONIOENCODING on macOS

It is not needed in python 3.7 as the POSIX locale is
now UTF-8 by default
This commit is contained in:
Kovid Goyal 2018-07-15 12:19:48 +05:30
parent 9918397190
commit 3d0da77c80
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 6 deletions

View file

@ -658,9 +658,7 @@ Categories=System;TerminalEmulator;
NSHighResolutionCapable=True,
NSSupportsAutomaticGraphicsSwitching=True,
LSApplicationCategoryType='public.app-category.utilities',
# Ensure I/O encoding is always utf-8, see
# https://github.com/kovidgoyal/kitty/issues/724
LSEnvironment={'KITTY_LAUNCHED_BY_LAUNCH_SERVICES': '1', 'PYTHONIOENCODING': 'utf-8'},
LSEnvironment={'KITTY_LAUNCHED_BY_LAUNCH_SERVICES': '1'},
)
plistlib.writePlist(pl, 'Info.plist')
os.rename('../share', 'Resources')