Skip to content

Instantly share code, notes, and snippets.

View akira0311's full-sized avatar
🏠
Working from home

Sysiya akira0311

🏠
Working from home
View GitHub Profile
@akira0311
akira0311 / generate-vscode-icons.ps1
Created October 11, 2025 06:09
VSCode Icons Generator
# VS Code Icon Generation Main Script
# Features:
# - Generate multi-platform icons: Windows ICO, macOS ICNS, Linux PNG/XPM, Web Favicon/PWA PNG.
# - Support Windows Inno Setup small/large icons multi-size BMP generation (100%-250% DPI).
# - Detect and copy Windows 10 tile icons (code_70x70.png as 100x100, code_150x150.png as 300x300).
# - External tool dependency check (ImageMagick, icnsify) and source file validation.
# - Optional cleanup of old resources, progress indication, and generation summary report.
param(
[Parameter(Mandatory = $false)]
@akira0311
akira0311 / generate-vscode-icons.ps1
Created October 11, 2025 06:01
VSCode 图标生成脚本
# VS Code 图标生成主脚本
# 功能点:
# - 生成多平台图标:Windows ICO、macOS ICNS、Linux PNG/XPM、Web Favicon/PWA PNG。
# - 支持 Windows Inno Setup 小/大图标多尺寸 BMP 生成(100%-250% DPI)。
# - 检测并复制 Windows 10 磁贴图标(code_70x70.png 为 100x100、code_150x150.png 为 300x300)。
# - 外部工具依赖检查(ImageMagick、icnsify)和源文件验证。
# - 可选清理旧资源、进度指示和生成总结报告。
param(
[Parameter(Mandatory = $false)]