diff options
author | Theodore Dubois <tblodt@icloud.com> | 2017-12-13 09:52:36 -0800 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-12-13 09:52:36 -0800 |
commit | 94caa7667da2baba3c762e661a84a806d2212731 (patch) | |
tree | 9678b17fceaf65d402e180c9a087f7dfe215fb46 /assets | |
parent | 9bdac6b50aa911cd8f94624a1084a1ba35be6ed4 (diff) | |
download | alacritty-94caa7667da2baba3c762e661a84a806d2212731.tar.gz alacritty-94caa7667da2baba3c762e661a84a806d2212731.zip |
Remove the launcher and set the locale/current directory in alacritty (#879)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/osx/Alacritty.app/Contents/Info.plist | 6 | ||||
-rwxr-xr-x | assets/osx/Alacritty.app/Contents/MacOS/launcher | 15 |
2 files changed, 3 insertions, 18 deletions
diff --git a/assets/osx/Alacritty.app/Contents/Info.plist b/assets/osx/Alacritty.app/Contents/Info.plist index 77053db1..9016ca4d 100644 --- a/assets/osx/Alacritty.app/Contents/Info.plist +++ b/assets/osx/Alacritty.app/Contents/Info.plist @@ -5,9 +5,9 @@ <key>CFBundleDisplayName</key> <string>Alacritty</string> <key>CFBundleExecutable</key> - <string>launcher</string> - <!-- <key>CFBundleIdentifier</key> --> - <!-- <string>alacritty</string> --> + <string>alacritty</string> + <key>CFBundleIdentifier</key> + <string>io.alacritty</string> <key>CFBundleName</key> <string>Alacritty</string> <key>CFBundleIconFile</key> diff --git a/assets/osx/Alacritty.app/Contents/MacOS/launcher b/assets/osx/Alacritty.app/Contents/MacOS/launcher deleted file mode 100755 index d3c10724..00000000 --- a/assets/osx/Alacritty.app/Contents/MacOS/launcher +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -# Dynamically discover canonical path to alacritty binary -BIN_DIR=$(cd "$(dirname "$0")"; pwd) - -# Query OS for locale and setup alacritty shell to conform -ALACRITTY_LOCALE="$(osascript -e "return user locale of (get system info)")" -export LANG="${ALACRITTY_LOCALE}.UTF-8" -export LC_CTYPE="${ALACRITTY_LOCALE}.UTF-8" - -# Start alacritty in user's home directory -cd "$HOME" - -# Engage -exec "$BIN_DIR/alacritty" |