diff --git a/util/SilentDragonLite.desktop b/util/SilentDragonLite.desktop new file mode 100644 index 0000000..d659ab5 --- /dev/null +++ b/util/SilentDragonLite.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=SilentDragonLite +Comment=Full-node wallet for HUSH cryptocurrency +Exec=/home/user/SilentDragonLite/SilentDragonLite +Icon=/home/user/SilentDragonLite/res/SDLogo.png +Terminal=false +Type=Application +Categories=Network; diff --git a/util/add-linux-icons.sh b/util/add-linux-icons.sh new file mode 100644 index 0000000..614e0fb --- /dev/null +++ b/util/add-linux-icons.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Copyright 2019-2021 The Hush Developers + +username=$(id -un) +sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop +cp SilentDragonLite.desktop ~/.local/share/applications 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