outfly/build/linux/install.sh

8 lines
345 B
Bash
Raw Normal View History

2024-04-19 21:19:14 +00:00
#!/bin/sh
# 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"
install -Dm644 "doc/images/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png"
install -Dm644 "build/outfly.desktop" "$rootdir/usr/share/applications/outfly.desktop"