2024-04-19 21:19:14 +00:00
|
|
|
#!/bin/sh
|
2024-04-21 16:23:40 +00:00
|
|
|
# ▄████████▄ + ███ + ▄█████████ ███ +
|
|
|
|
# ███▀ ▀███ + + ███ ███▀ + ███ + +
|
|
|
|
# ███ + ███ ███ ███ █████████ ███ ███ ███ ███
|
2024-04-21 17:34:00 +00:00
|
|
|
# ███ +███ ███ ███ ███ ███▐██████ ███ ███ ███
|
2024-04-21 16:23:40 +00:00
|
|
|
# ███ + ███ ███+ ███ +███ ███ + ███ ███ + ███
|
|
|
|
# ███▄ ▄███ ███▄ ███ ███ + ███ + ███ ███▄ ███
|
|
|
|
# ▀████████▀ + ▀███████ ███▄ ███▄ ▀████ ▀███████
|
|
|
|
# + + + ███
|
|
|
|
# + ▀████████████████████████████████████████████████████▀
|
|
|
|
#
|
2024-04-19 21:19:14 +00:00
|
|
|
# usage: run this script from the project root, like this: build/install.sh [rootdir]
|
|
|
|
|
|
|
|
rootdir="${1:-}"
|
|
|
|
install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly"
|
2024-05-21 17:00:00 +00:00
|
|
|
install -Dm644 "doc/branding/logo.png" "$rootdir/usr/share/pixmaps/outfly.png"
|
2024-05-12 21:15:17 +00:00
|
|
|
install -Dm644 "build/linux/outfly.desktop" "$rootdir/usr/share/applications/outfly.desktop"
|