onryo
2 years ago
1 changed files with 4 additions and 3 deletions
@ -1,11 +1,12 @@ |
|||
#!/bin/bash |
|||
# Copyright 2019-2021 The Hush Developers |
|||
|
|||
./build.sh linguist && ./build.sh |
|||
cd ../ && ./build.sh linguist && ./build.sh |
|||
# should be better |
|||
|
|||
username=$(id -un) |
|||
|
|||
sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop |
|||
cd util/ && sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop |
|||
|
|||
cp util/SilentDragonLite.desktop ~/.local/share/applications |
|||
cp SilentDragonLite.desktop ~/.local/share/applications |
|||
# might be /usr/share/applications/ that requires sudo |
Loading…
Reference in new issue