Initial commit: a Copper-style panel for prompts and photos
Keeps text prompts and photos in a floating always-on-top panel and
copies them back to the clipboard on click. Double-Shift captures the
selection from any app; sections, search, copy-as-list, merge, and
local JSON persistence mirror shadcn's Copper workflow.
💘 Generated with Crush
Assisted-by: Crush:kimi-k3
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
TMP=$(mktemp -d)
|
||||
trap 'rm -rf "$TMP"' EXIT
|
||||
|
||||
swift scripts/gen-icon.swift "$TMP/icon-1024.png"
|
||||
|
||||
mkdir -p "$TMP/Icon.iconset"
|
||||
for s in 16 32 128 256 512; do
|
||||
d=$((s * 2))
|
||||
sips -z "$s" "$s" "$TMP/icon-1024.png" --out "$TMP/Icon.iconset/icon_${s}x${s}.png" >/dev/null
|
||||
sips -z "$d" "$d" "$TMP/icon-1024.png" --out "$TMP/Icon.iconset/icon_${s}x${s}@2x.png" >/dev/null
|
||||
done
|
||||
|
||||
iconutil -c icns "$TMP/Icon.iconset" -o "$TMP/Icon.icns"
|
||||
mkdir -p Prompt.app/Contents/Resources
|
||||
cp "$TMP/Icon.icns" Prompt.app/Contents/Resources/Icon.icns
|
||||
echo "Generated Prompt.app/Contents/Resources/Icon.icns"
|
||||
Reference in New Issue
Block a user