mirror of
https://github.com/wez/wezterm.git
synced 2024-11-24 07:46:59 +03:00
18 lines
368 B
Bash
Executable File
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
|