Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c6d2805
feat(desktop-gpui): add Quick Look thumbnail and preview extensions
ItsEeleeya Oct 27, 2026
27c5047
test(desktop-gpui): cover the Quick Look bundles and the debug profile
ItsEeleeya Oct 27, 2026
49e6935
feat(desktop-gpui): ship the Icon Composer icon and the Cap accent
ItsEeleeya Oct 27, 2026
d09e309
test(desktop-gpui): cover the actool icon and accent wiring
ItsEeleeya Oct 27, 2026
f6f86f9
New wix and installer images based on the new icons and theme
ItsEeleeya Oct 27, 2026
7665382
chore: exclude the Icon Composer source from Biome
ItsEeleeya Oct 27, 2026
e8b44d4
fix(desktop-gpui): forward the debug profile and cover macOS bundles …
ItsEeleeya Oct 27, 2026
a409de4
test(desktop-gpui): pin the debug profile arguments for every platform
ItsEeleeya Oct 27, 2026
4ab694d
fix(wix-installer image): use proper name
ItsEeleeya Oct 27, 2026
050b628
update Sea Glass Icon
ItsEeleeya Oct 27, 2026
7439810
chore(desktop-gpui): ship the updated macOS legacy and dev icons
ItsEeleeya Oct 28, 2026
a6b846a
feat(desktop-gpui): pick the debug dock icon by macOS version
ItsEeleeya Oct 28, 2026
455eb7c
Updated cap-solarium.icon: use the sea glass style
ItsEeleeya Oct 28, 2026
e02ce29
Merge remote-tracking branch 'upstream/main' into macos-extra-bundles
ItsEeleeya Oct 28, 2026
7a3c651
Merge remote-tracking branch 'upstream/main' into macos-extra-bundles
ItsEeleeya Oct 29, 2026
1c44e97
fix(desktop-gpui): only set the dock icon in debug builds
ItsEeleeya Oct 29, 2026
328dd67
chore(desktop-gpui): regenerate icons from cap-glass-icon and update …
ItsEeleeya Oct 29, 2026
25fc1a7
Update icon shadow
ItsEeleeya Oct 29, 2026
4fa83b6
Merge remote-tracking branch 'upstream/main' into macos-extra-bundles
ItsEeleeya Oct 29, 2026
025e286
fix(desktop-gpui): pass the platform config to tauri bundle on macOS
ItsEeleeya Oct 29, 2026
96378cc
chore(desktop-gpui): match upstream outside the icon and debug changes
ItsEeleeya Oct 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
- 'scripts/build-linux-packages.mjs'
- 'scripts/build-macos-packages*'
- 'scripts/bundle-gpui*'
- 'scripts/build-macos-bundles*'
- 'scripts/build-macos-icon*'
- 'apps/macos-bundles/**'
- 'scripts/finalize-linux-*'
- 'scripts/finalize-macos-*'
- 'scripts/linux-bundle-config*'
Expand Down Expand Up @@ -335,7 +338,11 @@ jobs:
uses: actions/checkout@v4

- name: Test desktop build preparation
run: node --test scripts/prepare-gpui-dependency.test.mjs scripts/build-macos-packages.test.mjs scripts/bundle-gpui.test.mjs scripts/finalize-macos-packages.test.mjs
run: node --test scripts/prepare-gpui-dependency.test.mjs scripts/build-macos-packages.test.mjs scripts/bundle-gpui.test.mjs scripts/build-macos-bundles.test.mjs scripts/build-macos-icon.test.mjs scripts/finalize-macos-packages.test.mjs

- name: Compile macOS Quick Look bundles
if: ${{ runner.os == 'macOS' }}
run: swift build -c release --package-path apps/macos-bundles

- name: Test Linux packaging
if: ${{ runner.os == 'Linux' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ jobs:
run: node --test scripts/prepare-gpui-dependency.test.mjs

- name: Test desktop packaging scripts
run: node --test scripts/build-macos-packages.test.mjs scripts/bundle-gpui.test.mjs scripts/finalize-macos-packages.test.mjs
run: node --test scripts/build-macos-packages.test.mjs scripts/bundle-gpui.test.mjs scripts/build-macos-bundles.test.mjs scripts/build-macos-icon.test.mjs scripts/finalize-macos-packages.test.mjs

- name: Install Linux desktop dependencies
if: ${{ runner.os == 'Linux' }}
Expand Down
26 changes: 26 additions & 0 deletions apps/desktop-gpui/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,31 @@
<string>Cap captures your screen as part of recording your Caps</string>
<key>NSCameraUseContinuityCameraDeviceType</key>
<true/>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>so.cap.desktop.project</string>
<key>UTTypeDescription</key>
<string>Cap Project</string>
<key>UTTypeConformsTo</key>
<array>
<string>com.apple.package</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>cap</string>
</array>
</dict>
</dict>
</array>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>CFBundleIconName</key>
<string>cap-solarium</string>
<key>NSAccentColorName</key>
<string>AccentColor</string>
</dict>
</plist>
Binary file modified apps/desktop-gpui/assets/dock-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/desktop-gpui/icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/desktop-gpui/icons/128x128@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/desktop-gpui/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors": [
{
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0xFF",
"green": "0x7A",
"red": "0x00"
}
},
"idiom": "universal"
},
{
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0xFF",
"green": "0x84",
"red": "0x0A"
}
},
"idiom": "universal"
}
],
"info": {
"author": "xcode",
"version": 1
}
}
6 changes: 6 additions & 0 deletions apps/desktop-gpui/icons/Cap.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info": {
"author": "xcode",
"version": 1
}
}
93 changes: 93 additions & 0 deletions apps/desktop-gpui/icons/cap-solarium.icon/Assets/cap-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
141 changes: 141 additions & 0 deletions apps/desktop-gpui/icons/cap-solarium.icon/icon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"features" : [
"refractivity",
"specular-location"
],
"fill-specializations" : [
{
"value" : {
"linear-gradient" : [
"display-p3:1.00000,0.95753,0.96331,1.00000",
"display-p3:0.97104,0.97104,0.97104,1.00000"
],
"orientation" : {
"start" : {
"x" : 0.5,
"y" : 1
},
"stop" : {
"x" : 0.5,
"y" : 0
}
}
}
},
{
"appearance" : "dark",
"value" : "automatic"
}
],
"groups" : [
{
"blend-mode-specializations" : [
{
"appearance" : "dark",
"value" : "normal"
}
],
"blur-material-specializations" : [
{
"value" : null
},
{
"appearance" : "tinted",
"value" : null
}
],
"hidden-specializations" : [
{
"value" : false
},
{
"idiom" : "square",
"value" : false
}
],
"layers" : [
{
"image-name" : "cap-mark.svg",
"name" : "cap-mark"
}
],
"lighting" : "individual",
"position-specializations" : [
{
"value" : {
"scale" : 1,
"translation-in-points" : [
0,
0
]
}
},
{
"idiom" : "square",
"value" : {
"scale" : 25,
"translation-in-points" : [
0,
0
]
}
}
],
"refractivity-specializations" : [
{
"value" : {
"depth" : 0.9164453125,
"enabled" : true,
"strength" : 0.6414453125
}
},
{
"appearance" : "tinted",
"value" : {
"depth" : 0.443515625,
"enabled" : true,
"strength" : 0.278125
}
}
],
"shadow" : {
"kind" : "layer-color",
"opacity" : 0.6
},
"specular-specializations" : [
{
"value" : "inside"
},
{
"appearance" : "dark",
"value" : "inside"
},
{
"appearance" : "tinted",
"value" : true
}
],
"translucency-specializations" : [
{
"value" : {
"enabled" : true,
"value" : 0.2
}
},
{
"appearance" : "tinted",
"value" : {
"enabled" : true,
"value" : 0.2
}
}
]
}
],
"supported-platforms" : {
"circles" : [
"watchOS"
],
"squares" : "shared"
}
}
Binary file added apps/desktop-gpui/icons/icon.icns
Binary file not shown.
Binary file modified apps/desktop-gpui/icons/icon.ico
Binary file not shown.
Binary file modified apps/desktop-gpui/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/desktop-gpui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ fn main() {
gpui_tokio::Tokio::spawn(cx, cap_utils::operation_diagnostics::run_checkpoints()).detach();
// The dock icon: an unbundled dev binary shows the generic terminal
// document without it. The bytes are the shipping app's icon.png.
#[cfg(debug_assertions)]
platform::set_dock_icon(include_bytes!("../assets/dock-icon.png"));

if let Err(error) = Assets.load_fonts(cx) {
Expand Down
5 changes: 3 additions & 2 deletions apps/desktop-gpui/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/macos/icon.icns",
"icons/icon.ico"
"icons/icon.icns",
"icons/icon.ico",
"icons/icon.png"
],
"resources": {
"assets/backgrounds/macOS/*": "assets/backgrounds/macOS/",
Expand Down
1 change: 1 addition & 0 deletions apps/macos-bundles/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.build/
Loading
Loading