feat tools
: remove tools folder
This commit is contained in:
parent
bff7f6cbc3
commit
37d5ed0a68
4 changed files with 0 additions and 39 deletions
|
@ -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)`
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# $1 Pterodactyl directory (pterodactyl)
|
|
||||||
|
|
||||||
cd "$1/.blueprint" || exit;
|
|
||||||
|
|
||||||
cat extensions/blueprint/private/debug/logs.txt
|
|
|
@ -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;
|
|
Loading…
Reference in a new issue