codeplay-common 4.4.4 → 4.4.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.
|
@@ -196,13 +196,41 @@ async function askIosStoreDetails() {
|
|
|
196
196
|
}, null, 2)}\n`, 'utf8');
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
async function ensureEndCardBanner() {
|
|
200
|
-
if (fs.existsSync(endCardBannerPath)) return;
|
|
201
|
-
throw new Error(
|
|
202
|
-
`AI end-card banner is missing. Generate it manually and save it here:\n${endCardBannerPath}\n\n`
|
|
203
|
-
+ '
|
|
204
|
-
|
|
205
|
-
|
|
199
|
+
async function ensureEndCardBanner() {
|
|
200
|
+
if (fs.existsSync(endCardBannerPath)) return;
|
|
201
|
+
throw new Error(
|
|
202
|
+
`AI end-card banner is missing. Generate it manually and save it here:\n${endCardBannerPath}\n\n`
|
|
203
|
+
+ 'Create a promotional video end-card banner for this application.\n\n'
|
|
204
|
+
+ 'Requirements:\n'
|
|
205
|
+
+ '- Final image size must be exactly 1672 × 941 pixels.\n'
|
|
206
|
+
+ '- Save it as:\n'
|
|
207
|
+
+ ` ${endCardBannerPath}\n`
|
|
208
|
+
+ '- Inspect the current project and use the application’s actual highest-resolution app icon.\n'
|
|
209
|
+
+ '- Do not generate, redraw, reinterpret, or replace the app icon.\n'
|
|
210
|
+
+ '- Use the complete official black “Download on the App Store” badge.\n'
|
|
211
|
+
+ '- Use the complete official black “Get it on Google Play” badge.\n'
|
|
212
|
+
+ '- Download the official badges from Apple and Google if they are not available in the project.\n'
|
|
213
|
+
+ '- Do not generate or imitate the Apple, Google Play, or application logos.\n'
|
|
214
|
+
+ '- Keep all logos and badge text sharp, correctly proportioned, and completely visible.\n'
|
|
215
|
+
+ '- Match the background colors and visual style to the actual app icon.\n'
|
|
216
|
+
+ '- Create a polished, professional background related to the app’s purpose.\n'
|
|
217
|
+
+ '- Keep the background subtle so it does not compete with the icon or download badges.\n'
|
|
218
|
+
+ '- Use a balanced landscape composition:\n'
|
|
219
|
+
+ ' - Large actual app icon on the left.\n'
|
|
220
|
+
+ ' - App Store badge followed by Google Play badge on the right.\n'
|
|
221
|
+
+ ' - Maintain comfortable margins and clear space around every element.\n'
|
|
222
|
+
+ '- Do not add extra marketing text unless it is specifically requested.\n'
|
|
223
|
+
+ '- Do not add watermarks, fake UI, generated symbols, or unrelated decorations.\n'
|
|
224
|
+
+ '- Rounded corners and a subtle shadow may be applied around the app icon, but its internal artwork must remain unchanged.\n'
|
|
225
|
+
+ '- Use image generation only for the background.\n'
|
|
226
|
+
+ '- Composite the actual app icon and official store badges afterward.\n'
|
|
227
|
+
+ '- Replace the specified output file if it already exists.\n'
|
|
228
|
+
+ '- Verify the final PNG dimensions are exactly 1672 × 941.\n'
|
|
229
|
+
+ '- Visually inspect the completed image before finishing.\n'
|
|
230
|
+
+ '- Report the final saved path.\n\n'
|
|
231
|
+
+ 'Then run the video-generation command again.',
|
|
232
|
+
);
|
|
233
|
+
}
|
|
206
234
|
|
|
207
235
|
function findVideos(directory) {
|
|
208
236
|
if (!fs.existsSync(directory)) return [];
|