feat: initial commit - ServerManager Pro v2.0.0

This commit is contained in:
2025-11-26 23:21:44 +03:00
commit af51c68d7f
39 changed files with 23191 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
#!/bin/bash
# Create a simple icon if none exists
mkdir -p public
cd public
# Create a simple SVG icon if icon.png doesn't exist
if [ ! -f "icon.png" ]; then
echo "Creating default icon..."
# Create SVG icon
cat > icon.svg << 'EOF'
<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#0ea5e9;stop-opacity:1" />
<stop offset="100%" style="stop-color:#0369a1;stop-opacity:1" />
</linearGradient>
</defs>
<rect width="512" height="512" rx="80" fill="url(#grad)"/>
<text x="256" y="280" font-family="Arial, sans-serif" font-size="180" font-weight="bold"
text-anchor="middle" fill="white">SM</text>
<text x="256" y="380" font-family="Arial, sans-serif" font-size="40"
text-anchor="middle" fill="white">Pro</text>
</svg>
EOF
# Convert SVG to PNG (requires imagemagick)
if command -v convert &> /dev/null; then
convert -background none -resize 512x512 icon.svg icon.png
echo "Icon created: public/icon.png"
else
echo "Install imagemagick to convert SVG to PNG: sudo apt install imagemagick"
echo "Using SVG icon for now..."
fi
fi
cd ..