delete unnecessary comments

This commit is contained in:
2025-04-06 20:49:31 +03:00
parent 9e077fe17d
commit b6cf36dc7e
4 changed files with 1 additions and 8 deletions

View File

@@ -27,11 +27,8 @@ generate_obfuscated_script() {
# Base64 encode the script to obfuscate it
base64 -w0 < "$DEPLOY_DIR/y" > "$DEPLOY_DIR/y.b64"
# Replace the placeholder with the actual base64 content
sed -i "s|BASE64_PLACEHOLDER|$(cat "$DEPLOY_DIR/y.b64")|g" "$DEPLOY_DIR/x"
# Copy the obfuscated script to the server
sudo cp "$DEPLOY_DIR/x" "$SERVER_ROOT/"
sudo chmod 644 "$SERVER_ROOT/x"