Upload files to 'util'
This commit is contained in:
12
util/install.sh
Normal file
12
util/install.sh
Normal 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
|
||||||
Reference in New Issue
Block a user