From ef202c52d1a051599a0bb0e90036aded9792b326 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Thu, 23 Apr 2026 00:16:47 -0600 Subject: [PATCH] weorkan on instal,ler --- install_dreammaker.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/install_dreammaker.sh b/install_dreammaker.sh index 1b568a3..4ef9c07 100644 --- a/install_dreammaker.sh +++ b/install_dreammaker.sh @@ -14,16 +14,21 @@ 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 +if [ ! -d /usr/share/DREAMMAKER ]; then + echo "Creating Files" + sudo mkdir -p /usr/share/DREAMMAKER fi -if [ ! -f $HOME/.discord_tag ]; then +if [ ! -f /usr/share/DREAMMAKER/.discord_url ]; then + echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations" + read discord_file + echo "$discord_file" > /usr/share/DREAMMAKER/.discord_url +fi + +if [ ! -f /usr/share/DREAMMAKER/.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_tag + echo "$discord_tag_file" > /usr/share/DREAMMAKER/.discord_tag fi # install itt