diff --git a/scripts/install.sh b/scripts/install.sh index 330ce22..cd2ac4d 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -3,8 +3,8 @@ chmod +x "${PWD}/../wrappers/wrapWayPclient.sh" chmod +x "${PWD}/../wrappers/wrapWayPserver.sh" chmod +x "${PWD}/../wrappers/wrapSetPos.sh" -sudo ln -sf "${PWD}/../../clientBuild/wayPreviewClient" /usr/bin/wayPreviewClient -sudo ln -sf "${PWD}/../../serverBuild/wayPreviewServer" /usr/bin/wayPreviewServer -sudo ln -sf "${PWD}/../wrappers/wrapWayPclient.sh" /usr/bin/wrapWayPclient.sh -sudo ln -sf "${PWD}/../wrappers/wrapWayPserver.sh" /usr/bin/wrapWayPserver.sh -sudo ln -sf "${PWD}/../wrappers/wrapSetPos.sh" /usr/bin/wrapSetPos.sh +sudo cp "${PWD}/../../clientBuild/wayPreviewClient" /usr/bin/wayPreviewClient +sudo cp "${PWD}/../../serverBuild/wayPreviewServer" /usr/bin/wayPreviewServer +sudo cp "${PWD}/../wrappers/wrapWayPclient.sh" /usr/bin/wrapWayPclient.sh +sudo cp "${PWD}/../wrappers/wrapWayPserver.sh" /usr/bin/wrapWayPserver.sh +sudo cp "${PWD}/../wrappers/wrapSetPos.sh" /usr/bin/wrapSetPos.sh diff --git a/scripts/lnInstall.sh b/scripts/lnInstall.sh new file mode 100755 index 0000000..330ce22 --- /dev/null +++ b/scripts/lnInstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +chmod +x "${PWD}/../wrappers/wrapWayPclient.sh" +chmod +x "${PWD}/../wrappers/wrapWayPserver.sh" +chmod +x "${PWD}/../wrappers/wrapSetPos.sh" +sudo ln -sf "${PWD}/../../clientBuild/wayPreviewClient" /usr/bin/wayPreviewClient +sudo ln -sf "${PWD}/../../serverBuild/wayPreviewServer" /usr/bin/wayPreviewServer +sudo ln -sf "${PWD}/../wrappers/wrapWayPclient.sh" /usr/bin/wrapWayPclient.sh +sudo ln -sf "${PWD}/../wrappers/wrapWayPserver.sh" /usr/bin/wrapWayPserver.sh +sudo ln -sf "${PWD}/../wrappers/wrapSetPos.sh" /usr/bin/wrapSetPos.sh diff --git a/scripts/unistall.sh b/scripts/unistall.sh index b78e299..4c5c8cb 100755 --- a/scripts/unistall.sh +++ b/scripts/unistall.sh @@ -4,3 +4,4 @@ sudo rm /usr/bin/wayPreviewClient sudo rm /usr/bin/wayPreviewServer sudo rm /usr/bin/wrapWayPclient.sh sudo rm /usr/bin/wrapWayPserver.sh +sudo rm /usr/bin/wrapSetPos.sh