diff --git a/SilentDragonLite.desktop b/SilentDragonLite.desktop new file mode 100644 index 0000000..490da53 --- /dev/null +++ b/SilentDragonLite.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=SilentDragonLite +Exec=/home/user/SilentDragonLite/SilentDragonLite +Icon=/home/user/SilentDragonLite/res/SDLogo.png +Terminal=false +Type=Application diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..2d7299d --- /dev/null +++ b/install.sh @@ -0,0 +1,10 @@ +#!/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