Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(desktop): show the Apple logo instead of a fruit on Linux and Windows

leepokai087394b74bdf
diff --git a/apps/desktop/src/renderer/components/Icon.tsx b/apps/desktop/src/renderer/components/Icon.tsx
index c51f728a..c7757f8c 100644
--- a/apps/desktop/src/renderer/components/Icon.tsx
+++ b/apps/desktop/src/renderer/components/Icon.tsx
@@ -10,7 +10,7 @@ interface Metrics {
}
// SF Symbols masks exported at build time on macOS (tools/export-symbols.swift); elsewhere
-// (Linux) the Lucide fallbacks draw instead.
+// (Linux, Windows) the Lucide fallbacks draw instead.
let manifest: Record<string, Metrics> | null = null
const listeners = new Set<() => void>()
if (window.codync?.platform === 'darwin') {
diff --git a/apps/desktop/src/renderer/components/icon-fallbacks.ts b/apps/desktop/src/renderer/components/icon-fallbacks.ts
index 3a8dacf6..089e5df8 100644
--- a/apps/desktop/src/renderer/components/icon-fallbacks.ts
+++ b/apps/desktop/src/renderer/components/icon-fallbacks.ts
@@ -2,7 +2,19 @@ import * as L from 'lucide'
type IconNode = L.IconNode
-// The closest Lucide icon for each SF Symbol, for platforms without SF Symbols (Linux).
+// Lucide has no brand marks (its Apple is the fruit): the filled logo, from Simple Icons (CC0).
+const appleLogo: IconNode = [
+ [
+ 'path',
+ {
+ fill: 'currentColor',
+ stroke: 'none',
+ d: 'M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701',
+ },
+ ],
+]
+
+// The closest Lucide icon for each SF Symbol, for platforms without SF Symbols (Linux, Windows).
const map: Record<string, IconNode> = {
'arrow.clockwise': L.RotateCw,
'arrow.counterclockwise': L.RotateCcw,
@@ -21,7 +33,7 @@ const map: Record<string, IconNode> = {
'arrow.up': L.ArrowUp,
'arrow.up.right.square': L.SquareArrowOutUpRight,
'arrowshape.turn.up.left': L.Reply,
- 'apple.logo': L.Apple,
+ 'apple.logo': appleLogo,
'bell.badge': L.BellDot,
bolt: L.Zap,
book: L.BookOpen,