Files
SilentDragonXLite/util/install.sh
onryo 3c2414028b Revert "Merge branch 'dev'"
This reverts commit 4a7dd7f959, reversing
changes made to a89a0cc1c6.
2024-01-06 16:27:48 +01:00

12 lines
369 B
Bash
Executable File

#!/bin/bash
# Copyright 2019-2023 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