-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added installation scripts for Cygwin environments. The server cannot…
… run as a daemon, so this feature has been disabled on Cygwin platforms
- Loading branch information
Showing
4 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
python /usr/share/NVDARemoteServer/server.py $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
if ! test -e ../server.py | ||
then | ||
echo This script must be run from Cygwin directory inside the NVDA Remote Server source folder. Exiting. | ||
exit 1 | ||
fi | ||
if test -e /usr/bin/NVDARemoteServer | ||
then | ||
echo NVDA Remote Server is already installed. Exiting... | ||
exit 1 | ||
fi | ||
echo installing... | ||
cp NVDARemoteServer /usr/bin | ||
cp uninstall.sh /usr/bin/NVDARemoteUninstall | ||
cp ../NVDARemoteCertificate /usr/bin | ||
mkdir /usr/share/NVDARemoteServer | ||
cp ../server.py ../daemon.py ../server.pem /usr/share/NVDARemoteServer | ||
cp ../manual/NVDARemoteServer.1 ../manual/NVDARemoteCertificate.1 /usr/share/man/man1 | ||
mkdir /usr/share/doc/NVDARemoteServer | ||
cp ../LICENSE /usr/share/doc/NVDARemoteServer | ||
if test $? -eq 0 | ||
then | ||
echo NVDA Remote Server has been installed succesfully. | ||
exit 0 | ||
else | ||
echo There was a problem installing NVDA Remote Server. Please, run the uninstall script and try again. | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
echo Uninstalling NVDA Remote Server... | ||
rm -rf /usr/share/NVDARemoteServer | ||
rm -rf /usr/share/doc/NVDARemoteServer | ||
rm -f /usr/bin/NVDARemoteServer /usr/bin/NVDARemoteCertificate /usr/bin/NVDARemoteUninstall /usr/share/man/man1/NVDARemoteServer.1 /usr/share/man/man1/NVDARemoteCertificate /var/log/NVDARemoteServer.log | ||
echo NVDA Remote Server has been uninstalled. | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters