From 39929d9682a57930fa1cf7fd3909487254e4b91e Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Fri, 19 Jul 2024 17:49:53 +0200 Subject: [PATCH] add egg --- .gitignore | 2 ++ egg-kubi-server.json | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 egg-kubi-server.json diff --git a/.gitignore b/.gitignore index 4117f23..05917a9 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,5 @@ _visualizer.json # blender backup files *.blend1 + +/mods diff --git a/egg-kubi-server.json b/egg-kubi-server.json new file mode 100644 index 0000000..8168822 --- /dev/null +++ b/egg-kubi-server.json @@ -0,0 +1,32 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", + "meta": { + "version": "PTDL_v2", + "update_url": null + }, + "exported_at": "2024-07-19T15:49:02+00:00", + "name": "kubi-server", + "author": "prasol258@gmail.com", + "uuid": "ce529006-1971-4503-8d93-247d7bcba12f", + "description": "https:\/\/github.com\/griffi-gh\/kubi\/", + "features": [], + "docker_images": { + "alpine:latest": "ghcr.io\/linuxcontainers\/alpine:latest" + }, + "file_denylist": [], + "startup": ".\/kubi-server", + "config": { + "files": "{}", + "startup": "{\n \"done\": \"The server is now running\"\n}", + "logs": "{}", + "stop": "^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n\r\n# Define the URL and the output zip file name\r\nURL=\"https:\/\/github.com\/griffi-gh\/kubi\/releases\/download\/nightly\/Linux_X64.zip\"\r\nZIP_FILE=\"Linux_X64.zip\"\r\n\r\n# Download the zip file\r\necho \"Downloading $URL...\"\r\ncurl -L -o $ZIP_FILE $URL\r\n\r\n# Check if the download was successful\r\nif [ $? -ne 0 ]; then\r\n echo \"Failed to download $URL\"\r\n exit 1\r\nfi\r\n\r\n# Unzip kubi-server, Server.toml into the current directory\r\necho \"Unzipping $ZIP_FILE...\"\r\nunzip -j $ZIP_FILE kubi-server Server.toml -d .\r\n\r\n# Check if the unzip was successful\r\nif [ $? -ne 0 ]; then\r\n echo \"Failed to unzip $ZIP_FILE\"\r\n exit 1\r\nfi\r\n\r\n# Cleanup the zip file\r\nrm $ZIP_FILE\r\n\r\n# Set file perms\r\nchmod +x kubi-server\r\n\r\necho \"Done!\"\r\n", + "container": "alpine:3.4", + "entrypoint": "bash" + } + }, + "variables": [] +} \ No newline at end of file