diff options
author | Semyon Pisarev <cema.rus@gmail.com> | 2017-01-15 19:46:23 +0300 |
---|---|---|
committer | Bryce Fisher-Fleig <hckr1292@gmail.com> | 2017-03-06 10:27:25 -0800 |
commit | 2f0e31888f6d1d347fe5ffb455eb6aa2ad1569c3 (patch) | |
tree | 030fc42b37cf2a7590fc33b902b14798140974ad /assets/osx | |
parent | dc72b1324fbd34fcb3b3bd74d479af534007bd4b (diff) |
Add tiny wrapper to start from '$HOME'
Diffstat (limited to 'assets/osx')
-rw-r--r-- | assets/osx/Alacritty.app/Contents/Info.plist | 2 | ||||
-rwxr-xr-x | assets/osx/Alacritty.app/Contents/MacOS/launcher | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/assets/osx/Alacritty.app/Contents/Info.plist b/assets/osx/Alacritty.app/Contents/Info.plist index acf636e8..77053db1 100644 --- a/assets/osx/Alacritty.app/Contents/Info.plist +++ b/assets/osx/Alacritty.app/Contents/Info.plist @@ -5,7 +5,7 @@ <key>CFBundleDisplayName</key> <string>Alacritty</string> <key>CFBundleExecutable</key> - <string>alacritty</string> + <string>launcher</string> <!-- <key>CFBundleIdentifier</key> --> <!-- <string>alacritty</string> --> <key>CFBundleName</key> diff --git a/assets/osx/Alacritty.app/Contents/MacOS/launcher b/assets/osx/Alacritty.app/Contents/MacOS/launcher new file mode 100755 index 00000000..707c3205 --- /dev/null +++ b/assets/osx/Alacritty.app/Contents/MacOS/launcher @@ -0,0 +1,6 @@ +#!/bin/bash + +BIN_DIR=$(dirname $0) + +cd "$HOME" +exec "$BIN_DIR/alacritty" "$@" |