diff --git a/README.md b/README.md index 6334ca0..d412d07 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ shut down and lock (or destory) your box if cops are detected nearby! - Axon bodycamera ## Install **Requires cryptsetup and bluetoothctl** -make your discord webhook and discord tag files -1. $HOME/.discord_url -2. $HOME/.discord_tag then instasll ```bash diff --git a/install_dreammaker.sh b/install_dreammaker.sh index 97fdbb0..7ffe9d5 100644 --- a/install_dreammaker.sh +++ b/install_dreammaker.sh @@ -14,6 +14,18 @@ if [ -f /etc/systemd/system/dreammaker.service ]; then sudo rm /etc/systemd/system/dreammaker.service 2>/dev/null fi +if [ ! -f $HOME/.discord_url ]; then + echo -e "Enter "Discord Webhook URL\n\tRight click on server->server settings->integrations" + read discord_file + echo "$discord_file" > $HOME/.discord_url +fi + +if [ ! -f $HOME/.discord_tag ]; then + echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications" + read discord_tag_file + echo "$discord_tag_file" > $HOME/.discord_url +fi + # install itt echo "installing service" sudo cp dreammaker.sh /usr/local/bin/dreammaker.sh