From 1afffea528a4b855dad72ca048cbff421fcb8d59 Mon Sep 17 00:00:00 2001 From: onryo Date: Tue, 21 Dec 2021 12:39:18 +0000 Subject: [PATCH 1/2] rm install.sh it was mv to util --- install.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 install.sh diff --git a/install.sh b/install.sh deleted file mode 100755 index 2d7299d..0000000 --- a/install.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# Copyright 2019-2021 The Hush Developers - -./build.sh linguist && ./build.sh - -username=$(id -un) - -sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop - -mv SilentDragonLite.desktop ~/.local/share/applications From 5696afaa69d481da2f9506c5c2600053421c7ea9 Mon Sep 17 00:00:00 2001 From: onryo Date: Tue, 21 Dec 2021 12:55:57 +0000 Subject: [PATCH 2/2] comment not an issue for most Ubuntu/Ubuntu based distributions but the path can be /usr/share/applications/ which requires sudo --- util/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/util/install.sh b/util/install.sh index 2d7299d..3344b2e 100755 --- a/util/install.sh +++ b/util/install.sh @@ -8,3 +8,4 @@ username=$(id -un) sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop mv SilentDragonLite.desktop ~/.local/share/applications +# might be /usr/share/applications/ that requires sudo \ No newline at end of file