Skip to content

Open source CapCut alternative.

TypeScript

chore(app): rename bundle id to com.donkeyuse and declare Apple Music usage

David Le0863957b3efd
diff --git a/apps/Donkey/Tests/DonkeyRuntimeTests/DonkeyBackendInferenceClientTests.swift b/apps/Donkey/Tests/DonkeyRuntimeTests/DonkeyBackendInferenceClientTests.swift
index f8d88764..5ac02ef3 100644
--- a/apps/Donkey/Tests/DonkeyRuntimeTests/DonkeyBackendInferenceClientTests.swift
+++ b/apps/Donkey/Tests/DonkeyRuntimeTests/DonkeyBackendInferenceClientTests.swift
@@ -1058,7 +1058,7 @@ struct DonkeyBackendInferenceClientTests {
try FileManager.default.createDirectory(at: bundleURL, withIntermediateDirectories: true)
var plist: [String: Any] = [
- "CFBundleIdentifier": "ai.donkey.tests.\(UUID().uuidString)",
+ "CFBundleIdentifier": "com.donkeyuse.tests.\(UUID().uuidString)",
"CFBundlePackageType": "BNDL"
]
for (key, value) in info {
diff --git a/docs/guides/install-donkey.md b/docs/guides/install-donkey.md
index 53339492..23adcfbc 100644
--- a/docs/guides/install-donkey.md
+++ b/docs/guides/install-donkey.md
@@ -117,7 +117,7 @@ The dev script starts the local site when `DONKEY_WEB_BASE_URL` points at
localhost, builds Donkey, wraps the debug executable in
`apps/Donkey/.build/debug/Donkey Dev.app`, registers that bundle for
`donkey://auth/callback`, and launches it. The debug wrapper uses the
-`Donkey Dev` display name and `ai.donkey.Donkey.dev` bundle identifier by
+`Donkey Dev` display name and `com.donkeyuse.Donkey.dev` bundle identifier by
default so macOS privacy settings do not collide with packaged `Donkey.app`
builds. Development builds use the same hosted-model boundary as packaged
builds; to test provider behavior, configure the site/backend environment and
diff --git a/scripts/package-donkey-app.sh b/scripts/package-donkey-app.sh
index 2306c26b..8483d81e 100755
--- a/scripts/package-donkey-app.sh
+++ b/scripts/package-donkey-app.sh
@@ -240,7 +240,7 @@ cat > "$CONTENTS_DIR/Info.plist" <<PLIST
<key>CFBundleExecutable</key>
<string>Donkey</string>
<key>CFBundleIdentifier</key>
- <string>ai.donkey.Donkey</string>
+ <string>com.donkeyuse.Donkey</string>
<key>CFBundleName</key>
<string>Donkey</string>
<key>CFBundleDisplayName</key>
@@ -263,7 +263,7 @@ cat > "$CONTENTS_DIR/Info.plist" <<PLIST
<array>
<dict>
<key>CFBundleURLName</key>
- <string>ai.donkey.Donkey.auth</string>
+ <string>com.donkeyuse.Donkey.auth</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$AUTH_CALLBACK_SCHEME</string>
@@ -282,6 +282,8 @@ cat > "$CONTENTS_DIR/Info.plist" <<PLIST
<string>Donkey may search Documents files only when you ask it to find or open a local item.</string>
<key>NSDownloadsFolderUsageDescription</key>
<string>Donkey may search Downloads files only when you ask it to find or open a local item.</string>
+ <key>NSAppleMusicUsageDescription</key>
+ <string>Donkey plays Apple Music natively when you ask for music.</string>
$SPARKLE_PLIST_KEYS
</dict>
</plist>
diff --git a/scripts/run-donkey-dev.sh b/scripts/run-donkey-dev.sh
index 5357f758..d8524e77 100755
--- a/scripts/run-donkey-dev.sh
+++ b/scripts/run-donkey-dev.sh
@@ -6,7 +6,7 @@ APP_DIR="$ROOT_DIR/apps/Donkey"
LOG_SCRIPT="$ROOT_DIR/scripts/tail-donkey-logs.sh"
BUILD_PRODUCTS_DIR="$APP_DIR/.build/debug"
DONKEY_BIN="$BUILD_PRODUCTS_DIR/Donkey"
-DEV_BUNDLE_IDENTIFIER="${DONKEY_DEV_BUNDLE_IDENTIFIER:-ai.donkey.Donkey.dev}"
+DEV_BUNDLE_IDENTIFIER="${DONKEY_DEV_BUNDLE_IDENTIFIER:-com.donkeyuse.Donkey.dev}"
DEV_DISPLAY_NAME="${DONKEY_DEV_DISPLAY_NAME:-Donkey Dev}"
DEV_EXECUTABLE_NAME="${DONKEY_DEV_EXECUTABLE_NAME:-$DEV_DISPLAY_NAME}"
DEV_APP_DIR="$BUILD_PRODUCTS_DIR/$DEV_DISPLAY_NAME.app"
@@ -342,6 +342,8 @@ write_info_plist() {
<string>Donkey may search Documents files only when you ask it to find or open a local item.</string>
<key>NSDownloadsFolderUsageDescription</key>
<string>Donkey may search Downloads files only when you ask it to find or open a local item.</string>
+ <key>NSAppleMusicUsageDescription</key>
+ <string>Donkey plays Apple Music natively when you ask for music.</string>
</dict>
</plist>
PLIST