From 917d130cf890c7ca2faed77b452a29e0ce60bcc2 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 19 Apr 2024 23:19:14 +0200 Subject: [PATCH] add install.sh --- build/install.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 build/install.sh diff --git a/build/install.sh b/build/install.sh new file mode 100755 index 0000000..c6f6ba7 --- /dev/null +++ b/build/install.sh @@ -0,0 +1,7 @@ +#!/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"