From 9c1c46f3176f9343ee26be7a5f67d048d38ff8fe Mon Sep 17 00:00:00 2001 From: onryo Date: Sat, 29 Jan 2022 09:42:58 +0000 Subject: [PATCH] Upload files to 'util' --- util/install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 util/install.sh diff --git a/util/install.sh b/util/install.sh new file mode 100644 index 0000000..250f530 --- /dev/null +++ b/util/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Copyright 2019-2021 The Hush Developers + +cd ../ && ./build.sh linguist && ./build.sh +# should be better + +username=$(id -un) + +cd util/ && sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop + +cp SilentDragonLite.desktop ~/.local/share/applications +# might be /usr/share/applications/ that requires sudo \ No newline at end of file