Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(cua-driver-rs)(macos): ship AppIcon.icns so the bundle isn't a blank icon (#1496) (#1780)

Francesco Bonacci7057b5372243
diff --git a/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plist b/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plist
index feec768b06..4536709215 100644
--- a/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plist
+++ b/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Info.plist
@@ -44,6 +44,14 @@
<string>Cua Driver</string>
<key>CFBundleExecutable</key>
<string>cua-driver</string>
+ <!-- Bundle icon shown in Finder / Launchpad / Get Info. Resolves to
+ Contents/Resources/AppIcon.icns. LSUIElement (below) suppresses
+ the Dock icon, but Finder and Launchpad still render this — without
+ it the app shows a blank placeholder (see issue #1496). -->
+ <key>CFBundleIconFile</key>
+ <string>AppIcon</string>
+ <key>CFBundleIconName</key>
+ <string>AppIcon</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<!-- Version values are placeholders. The CD workflow's
diff --git a/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Resources/AppIcon.icns b/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Resources/AppIcon.icns
new file mode 100644
index 0000000000..4206be5cdb
Binary files /dev/null and b/libs/cua-driver/rust/scripts/CuaDriverBundle/Contents/Resources/AppIcon.icns differ