mirror of
https://github.com/wez/wezterm.git
synced 2024-12-26 06:42:12 +03:00
67a57f12af
The icon comes from "Smoothicons 7" by Corey Marion which I found as a royalty free icon searching the internet. I would love to have a purpose built icon, but this is sufficient for now. The install script sets up a macOS application bundle that references the generated wezterm binary and the icon. The same technique could be used to generate a .desktop file for linux. I've changed the default-prog on macos to be `login -pf $USER` as that is a better default experience on macOS.
17 lines
320 B
Bash
Executable File
17 lines
320 B
Bash
Executable File
#!/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
|