1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 12:23:46 +03:00
wezterm/install.sh
2019-03-24 00:26:53 -07:00

18 lines
368 B
Bash
Executable File

#!/bin/bash
case $OSTYPE in
darwin*)
cargo build --release
mkdir -p $HOME/Applications
APP=$HOME/Applications/WezTerm.app
rm -rf $APP
cp -r assets/macos/WezTerm.app $APP && \
cp target/release/wezterm $APP && \
echo "Installed to $APP"
;;
*)
echo "Don't know how to install the app on this system"
exit 1
;;
esac