copying files from dev to master

This commit is contained in:
onryo
2022-01-29 09:28:17 +00:00
parent 5eb4b2af24
commit 91f64b235e
3 changed files with 27 additions and 0 deletions

View File

@@ -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;

6
util/add-linux-icons.sh Normal file
View File

@@ -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

12
util/install.sh Normal file
View File

@@ -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