From 37d5ed0a68e9d5ec9a28b61a720eef6ae3998424 Mon Sep 17 00:00:00 2001 From: purple Date: Thu, 18 Jan 2024 11:10:53 +0100 Subject: [PATCH] feat `tools`: remove tools folder --- tools/README.md | 7 ------- tools/printDebug.sh | 7 ------- tools/tmp/.gitkeep | 0 tools/update.sh | 25 ------------------------- 4 files changed, 39 deletions(-) delete mode 100644 tools/README.md delete mode 100644 tools/printDebug.sh delete mode 100644 tools/tmp/.gitkeep delete mode 100644 tools/update.sh diff --git a/tools/README.md b/tools/README.md deleted file mode 100644 index f2e1de1..0000000 --- a/tools/README.md +++ /dev/null @@ -1,7 +0,0 @@ -### DO NOT RUN THESE WITHOUT KNOWING WHAT YOU ARE DOING -These scripts are meant for simplifying bug testing and development and will probably break your panel.\ -All tools are meant to not interact with Blueprint while changing core files. - - -* printDebug.sh `[path to pterodactyl]` -* update.sh `[path to pterodactyl]` `(dev)` \ No newline at end of file diff --git a/tools/printDebug.sh b/tools/printDebug.sh deleted file mode 100644 index 6b0b689..0000000 --- a/tools/printDebug.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -# $1 Pterodactyl directory (pterodactyl) - -cd "$1/.blueprint" || exit; - -cat extensions/blueprint/private/debug/logs.txt \ No newline at end of file diff --git a/tools/tmp/.gitkeep b/tools/tmp/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/tools/update.sh b/tools/update.sh deleted file mode 100644 index 6203ec1..0000000 --- a/tools/update.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -# $1 Pterodactyl directory (pterodactyl) -# $2 Dev release (dev) - -cd "$1/tools/tmp" || exit; - -if [[ $2 != "dev" ]]; then - LOCATION=$(curl -s https://api.github.com/repos/teamblueprint/main/releases/latest \ -| grep "zipball_url" \ -| awk '{ print $2 }' \ -| sed 's/,$//' \ -| sed 's/"//g' ) \ -; curl -L -o main.zip "$LOCATION" - - unzip main.zip; - rm main.zip; - mv ./* main; -else - git clone https://github.com/teamblueprint/main.git; -fi; - -cp -R main/* "$1"/; -rm -R main; -rm -R "$1"/.blueprint; \ No newline at end of file