Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
feat: update app icons to rounded logo (#4640)
Wasim Yousef Said5c7c3883cbe6
diff --git a/install.sh b/install.shindex ca2ce84fb1b..3f758527fc5 100755--- a/install.sh+++ b/install.sh@@ -420,44 +420,33 @@ LAUNCHER_EOFprintf '%s\n' "UNSLOTH_EXE='$_css_quoted_exe'" > "$_css_data_dir/studio.conf"# ── Icon: try bundled, then download ──- # favicon.png (small, for Linux) and unsloth-gem.png (large, for macOS icns)+ # rounded-512.png used for both Linux and macOS icons_css_script_dir=""if [ -n "${0:-}" ] && [ -f "$0" ]; then_css_script_dir=$(cd "$(dirname "$0")" 2>/dev/null && pwd) || truefi- # Try to find favicon.png from installed package (site-packages) or local repo- _css_found_favicon=""- _css_found_gem=""+ # Try to find rounded-512.png from installed package (site-packages) or local repo+ _css_found_icon=""_css_venv_dir=$(dirname "$(dirname "$_css_exe")")# Check site-packagesfor _sp in "$_css_venv_dir"/lib/python*/site-packages/unsloth/studio/frontend/public; do- if [ -f "$_sp/favicon.png" ]; then- _css_found_favicon="$_sp/favicon.png"- fi- if [ -f "$_sp/unsloth-gem.png" ]; then- _css_found_gem="$_sp/unsloth-gem.png"+ if [ -f "$_sp/rounded-512.png" ]; then+ _css_found_icon="$_sp/rounded-512.png"fidone# Check local repo (when running from clone)- if [ -z "$_css_found_favicon" ] && [ -n "$_css_script_dir" ] && [ -f "$_css_script_dir/studio/frontend/public/favicon.png" ]; then- _css_found_favicon="$_css_script_dir/studio/frontend/public/favicon.png"- fi- if [ -z "$_css_found_gem" ] && [ -n "$_css_script_dir" ] && [ -f "$_css_script_dir/studio/frontend/public/unsloth-gem.png" ]; then- _css_found_gem="$_css_script_dir/studio/frontend/public/unsloth-gem.png"+ if [ -z "$_css_found_icon" ] && [ -n "$_css_script_dir" ] && [ -f "$_css_script_dir/studio/frontend/public/rounded-512.png" ]; then+ _css_found_icon="$_css_script_dir/studio/frontend/public/rounded-512.png"fi- # Copy or download favicon.png- if [ -n "$_css_found_favicon" ]; then- cp "$_css_found_favicon" "$_css_icon_png" 2>/dev/null || true- elif [ ! -f "$_css_icon_png" ]; then- download "https://raw.githubusercontent.com/unslothai/unsloth/main/studio/frontend/public/favicon.png" "$_css_icon_png" 2>/dev/null || true- fi- # Copy or download unsloth-gem.png (for macOS icns)- if [ -n "$_css_found_gem" ]; then- cp "$_css_found_gem" "$_css_gem_png" 2>/dev/null || true- elif [ ! -f "$_css_gem_png" ]; then- download "https://raw.githubusercontent.com/unslothai/unsloth/main/studio/frontend/public/unsloth-gem.png" "$_css_gem_png" 2>/dev/null || true+ # Copy or download rounded-512.png (used for both Linux icon and macOS icns)+ if [ -n "$_css_found_icon" ]; then+ cp "$_css_found_icon" "$_css_icon_png" 2>/dev/null || true+ cp "$_css_found_icon" "$_css_gem_png" 2>/dev/null || true+ else+ download "https://raw.githubusercontent.com/unslothai/unsloth/main/studio/frontend/public/rounded-512.png" "$_css_icon_png" 2>/dev/null || true+ cp "$_css_icon_png" "$_css_gem_png" 2>/dev/null || truefi# Validate PNG header (first 4 bytes: \x89PNG)diff --git a/studio/frontend/public/rounded-512.png b/studio/frontend/public/rounded-512.pngnew file mode 100644index 00000000000..10367f61fb6Binary files /dev/null and b/studio/frontend/public/rounded-512.png differdiff --git a/studio/frontend/public/rounded.png b/studio/frontend/public/rounded.pngnew file mode 100644index 00000000000..f44be996f41Binary files /dev/null and b/studio/frontend/public/rounded.png differdiff --git a/studio/frontend/public/unsloth.ico b/studio/frontend/public/unsloth.icoindex 974a6ed0591..aab39962eb6 100644Binary files a/studio/frontend/public/unsloth.ico and b/studio/frontend/public/unsloth.ico differ