1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 02:42:05 +03:00
wezterm/install.sh

18 lines
368 B
Bash
Raw Normal View History

#!/bin/bash
case $OSTYPE in
darwin*)
cargo build --release
2019-03-24 10:26:53 +03:00
mkdir -p $HOME/Applications
APP=$HOME/Applications/WezTerm.app
rm -rf $APP
2019-03-24 10:26:53 +03:00
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