pabal-store-api-mcp 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -180,6 +180,7 @@ export class AppStoreService {
|
|
|
180
180
|
console.error(`[MCP] 📤 Pushing to App Store...`);
|
|
181
181
|
console.error(`[MCP] Bundle ID: ${bundleId}`);
|
|
182
182
|
try {
|
|
183
|
+
// Push locale data (supportUrl/marketingUrl already set by prepareAsoDataForPush)
|
|
183
184
|
const localesToPush = Object.keys(appStoreData.locales);
|
|
184
185
|
const failedFieldsList = [];
|
|
185
186
|
for (const [locale, localeData] of Object.entries(appStoreData.locales)) {
|
|
@@ -169,6 +169,7 @@ export class GooglePlayService {
|
|
|
169
169
|
for (const locale of localesToPush) {
|
|
170
170
|
console.error(`[GooglePlay] 📤 Preparing locale: ${locale}`);
|
|
171
171
|
}
|
|
172
|
+
// Push locale data as-is from aso-data.json
|
|
172
173
|
await client.pushMultilingualAsoData(googlePlayData);
|
|
173
174
|
// Push app-level contact information
|
|
174
175
|
if (googlePlayData.contactEmail || googlePlayData.contactWebsite) {
|
|
@@ -179,7 +180,6 @@ export class GooglePlayService {
|
|
|
179
180
|
});
|
|
180
181
|
console.error(`[GooglePlay] ✅ App details uploaded successfully`);
|
|
181
182
|
}
|
|
182
|
-
// Note: YouTube URL is pushed as part of listing data for each locale
|
|
183
183
|
// Upload screenshots if enabled
|
|
184
184
|
if (uploadImages && slug) {
|
|
185
185
|
console.error(`[GooglePlay] 📤 Uploading screenshots...`);
|
|
@@ -195,6 +195,8 @@ export class GooglePlayService {
|
|
|
195
195
|
const hasScreenshotsInJson = localeData?.screenshots &&
|
|
196
196
|
((localeData.screenshots.phone &&
|
|
197
197
|
localeData.screenshots.phone.length > 0) ||
|
|
198
|
+
(localeData.screenshots.tablet &&
|
|
199
|
+
localeData.screenshots.tablet.length > 0) ||
|
|
198
200
|
(localeData.screenshots.tablet7 &&
|
|
199
201
|
localeData.screenshots.tablet7.length > 0) ||
|
|
200
202
|
(localeData.screenshots.tablet10 &&
|
|
@@ -204,10 +206,16 @@ export class GooglePlayService {
|
|
|
204
206
|
// Use screenshots from aso-data.json (relative paths)
|
|
205
207
|
console.error(`[GooglePlay] 📋 Using screenshots from aso-data.json for ${locale}`);
|
|
206
208
|
const relativePaths = localeData.screenshots;
|
|
209
|
+
// If 'tablet' array exists (generic), use it for both 7-inch and 10-inch
|
|
210
|
+
const genericTablet = (relativePaths.tablet || []).map((p) => `${screenshotsBaseDir}/${p}`);
|
|
207
211
|
screenshots = {
|
|
208
212
|
phone: (relativePaths.phone || []).map((p) => `${screenshotsBaseDir}/${p}`),
|
|
209
|
-
tablet7:
|
|
210
|
-
|
|
213
|
+
tablet7: relativePaths.tablet7?.length
|
|
214
|
+
? relativePaths.tablet7.map((p) => `${screenshotsBaseDir}/${p}`)
|
|
215
|
+
: genericTablet,
|
|
216
|
+
tablet10: relativePaths.tablet10?.length
|
|
217
|
+
? relativePaths.tablet10.map((p) => `${screenshotsBaseDir}/${p}`)
|
|
218
|
+
: genericTablet,
|
|
211
219
|
featureGraphic: localeData.featureGraphic
|
|
212
220
|
? `${screenshotsBaseDir}/${localeData.featureGraphic}`
|
|
213
221
|
: null,
|