Open source CapCut alternative.
TypeScript
Add macOS app icon assets
David Lec01b1a54fbeb
diff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.icns b/apps/Donkey/Sources/Donkey/Resources/Donkey.icnsnew file mode 100644index 00000000..62df9af5Binary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.icns differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_128x128.png b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_128x128.pngnew file mode 100644index 00000000..990f95e5Binary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_128x128.png differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected]new file mode 100644index 00000000..47ef0665Binary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_16x16.png b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_16x16.pngnew file mode 100644index 00000000..1f8e3afcBinary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_16x16.png differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected]new file mode 100644index 00000000..403571deBinary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_256x256.png b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_256x256.pngnew file mode 100644index 00000000..47ef0665Binary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_256x256.png differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected]new file mode 100644index 00000000..eb55ac52Binary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_32x32.png b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_32x32.pngnew file mode 100644index 00000000..403571deBinary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_32x32.png differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected]new file mode 100644index 00000000..43cd1dcaBinary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_512x512.png b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_512x512.pngnew file mode 100644index 00000000..eb55ac52Binary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/icon_512x512.png differdiff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected]new file mode 100644index 00000000..72d2f4ccBinary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey.iconset/[email protected] differdiff --git a/scripts/package-donkey-app.sh b/scripts/package-donkey-app.shindex 67aa5983..88d569e9 100755--- a/scripts/package-donkey-app.sh+++ b/scripts/package-donkey-app.sh@@ -26,6 +26,7 @@ BUILD_DIR="$ROOT_DIR/apps/Donkey"EXECUTABLE="$BUILD_DIR/.build/release/Donkey"UI_UNDERSTANDER_EXECUTABLE="$BUILD_DIR/.build/release/DonkeyUIUnderstandingSidecar"CACHE_DIR="$BUILD_DIR/.build/package-cache"+APP_ICON_SOURCE="$BUILD_DIR/Sources/Donkey/Resources/Donkey.icns"RUNTIME_RUNNER_SOURCE="$ROOT_DIR/scripts/local-runtime-runners/donkey_runtime_runner.py"mkdir -p "$CACHE_DIR/clang" "$CACHE_DIR/swiftpm" "$CACHE_DIR/home"@@ -248,6 +249,9 @@ if [ -n "$RESOURCE_BUNDLE" ]; thenelif [ -d "$BUILD_DIR/.build/release/Donkey_Donkey.resources" ]; thencp -R "$BUILD_DIR/.build/release/Donkey_Donkey.resources/." "$RESOURCES_DIR/"fi+if [ -f "$APP_ICON_SOURCE" ]; then+ cp "$APP_ICON_SOURCE" "$RESOURCES_DIR/Donkey.icns"+fiSPARKLE_FRAMEWORK="$(find "$BUILD_DIR/.build" -path "*/release/Sparkle.framework" -type d | head -n 1 || true)"if [ -z "$SPARKLE_FRAMEWORK" ]; then@@ -335,6 +339,8 @@ cat > "$CONTENTS_DIR/Info.plist" <<PLIST<string>Donkey</string><key>CFBundleDisplayName</key><string>Donkey</string>+ <key>CFBundleIconFile</key>+ <string>Donkey.icns</string><key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>