mirror of
https://github.com/wez/wezterm.git
synced 2024-11-10 06:34:17 +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
|