Made with ❤️ by ihatenodejs
-Self-Check
-Internet Connection | -- | -
---|
diff --git a/README.md b/README.md index c15fe30..4b6695a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A KernelSU module which simplifies the installation of a keybox.xml file by fetching it from a server. > [!IMPORTANT] -> **This project is not hosted on GitHub. If you are looking to contribute or open an issue, please see my repo on [LibreCloud Git](https://git.pontusmail.org/aidan/beesrv).** +> **This project is not hosted on GitHub. If you are looking to contribute or open an issue, please see my repo on [p0ntus git](https://git.p0ntus.com/aidan/BeeSrv).** ## Module @@ -51,7 +51,7 @@ A `beebox.xml` file should be placed the `server/serve/` directory. You will hav Thank you to all of the people and projects I have come across while building this! Without you, this project wouldn't be a reality. -* [Re-Malwack by ZG089](https://github.com/ZG089/Re-Malwack) - +* [Re-Malwack by ZG089](https://github.com/ZG089/Re-Malwack) - This helped me so much while writing the module * [KernelSU Documentation](https://kernelsu.org/guide/module.html) - Very helpful resource for building a complete module diff --git a/create_zip.sh b/create_zip.sh index a34fd27..1a84f0a 100755 --- a/create_zip.sh +++ b/create_zip.sh @@ -17,15 +17,15 @@ if ! command -v bun &> /dev/null; then fi # Check if filename to be created already exists -if [ -f "BeeSrv-$version.zip" ]; then - echo "[i] BeeSrv-$version.zip already exists, would you like to overwrite it? (y/n)" +if [ -f "BeeSrv-$version.zip" ] || [ -f "BeeSrv-$version-debug.zip" ]; then + echo "[i] BeeSrv zip files already exist, would you like to overwrite them? (y/n)" read overwrite if [ "$overwrite" != "y" ]; then echo "[!] Aborting..." exit 1 else - rm -rf BeeSrv-$version.zip - echo "[✔] Overwriting BeeSrv-$version.zip..." + rm -rf BeeSrv-$version.zip BeeSrv-$version-debug.zip + echo "[✔] Overwriting existing zip files..." fi fi @@ -46,9 +46,9 @@ cp -r module tmp echo "[✔] Created working directory" # Clean any unnecessary files -rm -rf tmp/module/webroot/dist -rm -rf tmp/module/webroot/.gitignore -rm -rf tmp/module/webroot/package-lock.json +rm -rf tmp/webroot/dist +rm -rf tmp/webroot/.gitignore +rm -rf tmp/webroot/package-lock.json echo "[✔] Completed cleanup" # Build webroot @@ -83,15 +83,23 @@ echo "[✔] Moved built files to webroot" rm -rf webroot/dist echo "[✔] Completed cleanup" -# Create zip -echo "[i] Creating zip..." +echo "[i] Creating debug zip..." +zip -r ../BeeSrv-$version-debug.zip * +echo "[✔] Created debug zip" + +echo "[i] Removing eruda scripts for production version..." +sed -i '/ + +
-Made with ❤️ by ihatenodejs
-Internet Connection | -- | -
---|
Version | -- - - Loading... - - | -
---|---|
Debug Mode | -- - - Loading... - - | -