@echo off echo Generating app icon... REM Buat icon sederhana menggunakan PowerShell dan .NET powershell -Command " Add-Type -AssemblyName System.Drawing $bitmap = New-Object System.Drawing.Bitmap(512, 512) $graphics = [System.Drawing.Graphics]::FromImage($bitmap) $graphics.SmoothingMode = [System.Drawing.Drawing2D.SmoothingMode]::AntiAlias # Background gradient $brush = New-Object System.Drawing.Drawing2D.LinearGradientBrush( (New-Object System.Drawing.Point(0, 0)), (New-Object System.Drawing.Point(512, 512)), [System.Drawing.Color]::FromArgb(25, 118, 210), [System.Drawing.Color]::FromArgb(33, 150, 243) ) $graphics.FillRectangle($brush, 0, 0, 512, 512) # White elements $whiteBrush = New-Object System.Drawing.SolidBrush([System.Drawing.Color]::White) $whitePen = New-Object System.Drawing.Pen([System.Drawing.Color]::White, 8) # Draw API nodes (circles) $graphics.FillEllipse($whiteBrush, 40, 180, 40, 40) $graphics.FillEllipse($whiteBrush, 40, 236, 40, 40) $graphics.FillEllipse($whiteBrush, 40, 292, 40, 40) $graphics.FillEllipse($whiteBrush, 432, 180, 40, 40) $graphics.FillEllipse($whiteBrush, 432, 236, 40, 40) $graphics.FillEllipse($whiteBrush, 432, 292, 40, 40) # Draw connection lines $graphics.DrawLine($whitePen, 80, 200, 180, 200) $graphics.DrawLine($whitePen, 80, 256, 180, 256) $graphics.DrawLine($whitePen, 80, 312, 180, 312) $graphics.DrawLine($whitePen, 332, 200, 432, 200) $graphics.DrawLine($whitePen, 332, 256, 432, 256) $graphics.DrawLine($whitePen, 332, 312, 432, 312) # Central box $graphics.FillRectangle($whiteBrush, 220, 180, 72, 132) # Fire symbol (simple triangle) $fireBrush = New-Object System.Drawing.SolidBrush([System.Drawing.Color]::FromArgb(244, 67, 54)) $firePoints = @( (New-Object System.Drawing.Point(256, 190)), (New-Object System.Drawing.Point(245, 230)), (New-Object System.Drawing.Point(267, 230)) ) $graphics.FillPolygon($fireBrush, $firePoints) # Status indicator $statusBrush = New-Object System.Drawing.SolidBrush([System.Drawing.Color]::FromArgb(76, 175, 80)) $graphics.FillEllipse($statusBrush, 376, 88, 48, 48) $graphics.Dispose() $bitmap.Save('assets\icons\app_icon.png', [System.Drawing.Imaging.ImageFormat]::Png) $bitmap.Dispose() Write-Host 'Icon generated successfully!' " echo Icon generated at assets\icons\app_icon.png pause