mac: add app icon and tidy voice picker
This commit is contained in:
BIN
apps/macos/Icon.icon/Assets/clawdis-mac.png
Normal file
BIN
apps/macos/Icon.icon/Assets/clawdis-mac.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
36
apps/macos/Icon.icon/icon.json
Normal file
36
apps/macos/Icon.icon/icon.json
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"fill" : {
|
||||||
|
"automatic-gradient" : "extended-srgb:0.00000,0.53333,1.00000,1.00000"
|
||||||
|
},
|
||||||
|
"groups" : [
|
||||||
|
{
|
||||||
|
"layers" : [
|
||||||
|
{
|
||||||
|
"image-name" : "clawdis-mac.png",
|
||||||
|
"name" : "clawdis-mac",
|
||||||
|
"position" : {
|
||||||
|
"scale" : 1.07,
|
||||||
|
"translation-in-points" : [
|
||||||
|
-2,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"shadow" : {
|
||||||
|
"kind" : "neutral",
|
||||||
|
"opacity" : 0.5
|
||||||
|
},
|
||||||
|
"translucency" : {
|
||||||
|
"enabled" : true,
|
||||||
|
"value" : 0.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"supported-platforms" : {
|
||||||
|
"circles" : [
|
||||||
|
"watchOS"
|
||||||
|
],
|
||||||
|
"squares" : "shared"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -32,6 +32,9 @@ let package = Package(
|
|||||||
.product(name: "AsyncXPCConnection", package: "AsyncXPCConnection"),
|
.product(name: "AsyncXPCConnection", package: "AsyncXPCConnection"),
|
||||||
.product(name: "MenuBarExtraAccess", package: "MenuBarExtraAccess"),
|
.product(name: "MenuBarExtraAccess", package: "MenuBarExtraAccess"),
|
||||||
],
|
],
|
||||||
|
resources: [
|
||||||
|
.copy("Resources/Clawdis.icns"),
|
||||||
|
],
|
||||||
swiftSettings: [
|
swiftSettings: [
|
||||||
.enableUpcomingFeature("StrictConcurrency"),
|
.enableUpcomingFeature("StrictConcurrency"),
|
||||||
]
|
]
|
||||||
|
|||||||
BIN
apps/macos/Sources/Clawdis/Resources/Clawdis.icns
Normal file
BIN
apps/macos/Sources/Clawdis/Resources/Clawdis.icns
Normal file
Binary file not shown.
@@ -33,6 +33,8 @@ cat > "$APP_ROOT/Contents/Info.plist" <<'PLIST'
|
|||||||
<string>Clawdis</string>
|
<string>Clawdis</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>Clawdis</string>
|
<string>Clawdis</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>Clawdis</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
@@ -55,6 +57,9 @@ echo "🚚 Copying binary"
|
|||||||
cp "$BIN" "$APP_ROOT/Contents/MacOS/Clawdis"
|
cp "$BIN" "$APP_ROOT/Contents/MacOS/Clawdis"
|
||||||
chmod +x "$APP_ROOT/Contents/MacOS/Clawdis"
|
chmod +x "$APP_ROOT/Contents/MacOS/Clawdis"
|
||||||
|
|
||||||
|
echo "🖼 Copying app icon"
|
||||||
|
cp "$ROOT_DIR/apps/macos/Sources/Clawdis/Resources/Clawdis.icns" "$APP_ROOT/Contents/Resources/Clawdis.icns"
|
||||||
|
|
||||||
if [ -f "$CLI_BIN" ]; then
|
if [ -f "$CLI_BIN" ]; then
|
||||||
echo "🔧 Copying CLI helper"
|
echo "🔧 Copying CLI helper"
|
||||||
cp "$CLI_BIN" "$APP_ROOT/Contents/MacOS/ClawdisCLI"
|
cp "$CLI_BIN" "$APP_ROOT/Contents/MacOS/ClawdisCLI"
|
||||||
|
|||||||
Reference in New Issue
Block a user