Add comfortable-swipe source file

This commit is contained in:
Rico Tiongson committed 2017-09-25 23:18:07 +08:00
1 parent 8a9d5c96ec
commit 9c2d1532c7
4 files changed
+213 -1

No files matched your search

Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
DIR=$(dirname $0)
echo "Compiling..."
g++ -std=c++11 -O2 $DIR/src/comfortable-swipe.cpp -lxdo -o ~/.local/bin/comfortable-swipe || exec echo "Installation aborted"
cat $DIR/src/comfortable-swipe-serve > ~/.local/bin/comfortable-swipe-serve
chmod +x ~/.local/bin/comfortable-swipe-serve
echo "Successfully installed. You may now try running 'comfortable-swipe-serve'."
echo "--------------------------------------------------------------------------"
echo "If you want 'comfortable-swipe-serve' to automatically load on login, add it to your Startup Applications."
echo "See https://help.ubuntu.com/stable/ubuntu-help/startup-applications.html"