mirror of
https://github.com/wez/wezterm.git
synced 2024-12-26 23:04:49 +03:00
17 lines
320 B
Bash
17 lines
320 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
case $OSTYPE in
|
||
|
darwin*)
|
||
|
APP=$HOME/Applications/WezTerm.app
|
||
|
cargo build --release
|
||
|
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
|