You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
442 B
20 lines
442 B
g++ -o radio *.cpp *.h `wx-config --cxxflags --libs` -lvlc -lcurl -ljsoncpp
|
|
|
|
if [ -x ./radio ]
|
|
then
|
|
read -p "Do u want to install the Binary? [y/N] " input
|
|
|
|
if [ $input = "y" ] || [ $input = "Y" ]
|
|
then
|
|
mkdir -p ~/.config/radio++/
|
|
touch ~/.config/radio++/sender
|
|
doas cp -v radio /usr/local/bin/
|
|
echo "Finished!"
|
|
else
|
|
echo "bye :c"
|
|
fi
|
|
else
|
|
echo "something went wrong :/"
|
|
echo "exit..."
|
|
fi
|