Open source CapCut alternative.
TypeScript
chore(app): red icon for the dev build
David Lee661900e7f24
diff --git a/apps/Donkey/Package.swift b/apps/Donkey/Package.swiftindex dc1a5ca1..c81d16e5 100644--- a/apps/Donkey/Package.swift+++ b/apps/Donkey/Package.swift@@ -76,6 +76,7 @@ let package = Package(],exclude: ["Resources/Donkey.icns",+ "Resources/Donkey-dev.icns","Resources/Donkey.iconset"],resources: [diff --git a/apps/Donkey/Sources/Donkey/Resources/Donkey-dev.icns b/apps/Donkey/Sources/Donkey/Resources/Donkey-dev.icnsnew file mode 100644index 00000000..4528defdBinary files /dev/null and b/apps/Donkey/Sources/Donkey/Resources/Donkey-dev.icns differdiff --git a/scripts/run-donkey-dev.sh b/scripts/run-donkey-dev.shindex 73034509..d5159871 100755--- a/scripts/run-donkey-dev.sh+++ b/scripts/run-donkey-dev.sh@@ -18,7 +18,10 @@ CONTENTS_DIR="$DEV_APP_DIR/Contents"MACOS_DIR="$CONTENTS_DIR/MacOS"RESOURCES_DIR="$CONTENTS_DIR/Resources"FRAMEWORKS_DIR="$CONTENTS_DIR/Frameworks"-APP_ICON_SOURCE="$APP_DIR/Sources/Donkey/Resources/Donkey.icns"+# The dev bundle wears the red icon (Donkey.icns hue-shifted, regenerate with+# `magick -modulate 100,100,178` per iconset PNG + iconutil) so it never gets+# mistaken for an installed release in the Dock.+APP_ICON_SOURCE="$APP_DIR/Sources/Donkey/Resources/Donkey-dev.icns"APP_ICONSET_SOURCE="$APP_DIR/Sources/Donkey/Resources/Donkey.iconset"AUTH_CALLBACK_SCHEME="${DONKEY_AUTH_CALLBACK_SCHEME:-donkey-dev}"# The dev engine binds its own loopback port (baked into the dev Info.plist below,