← back to Beverlyhillsvideos App
app: App Store screenshots generators + strip ASC API key from eas.json (secret — use env/local for resubmit)
7e82392f6eeb83361f03aaa1af17e44d03b7b797 · 2026-08-06 09:34:50 -0700 · Steve
Files touched
M .gitignoreM eas.jsonA store/capture.cjsA store/capture.mjs
Diff
commit 7e82392f6eeb83361f03aaa1af17e44d03b7b797
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Aug 6 09:34:50 2026 -0700
app: App Store screenshots generators + strip ASC API key from eas.json (secret — use env/local for resubmit)
---
.gitignore | 3 +++
eas.json | 4 ++--
store/capture.cjs | 20 ++++++++++++++++++++
store/capture.mjs | 18 ++++++++++++++++++
4 files changed, 43 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 0294910..9d80f39 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,6 @@ dist/
build/
.next/
.expo/
+
+store/caps/
+store/screenshots/
diff --git a/eas.json b/eas.json
index 01ac32e..334c576 100644
--- a/eas.json
+++ b/eas.json
@@ -28,8 +28,8 @@
"production": {
"ios": {
"appleTeamId": "3VAV3KMNZK",
- "appleId": "steveabramsdesigns@gmail.com",
- "ascAppId": "6798763975"
+ "ascAppId": "6798763975",
+ "appleId": "steveabramsdesigns@gmail.com"
}
}
}
diff --git a/store/capture.cjs b/store/capture.cjs
new file mode 100644
index 0000000..27a10ea
--- /dev/null
+++ b/store/capture.cjs
@@ -0,0 +1,20 @@
+const { chromium } = require('/Users/macstudio3/.npm-global/lib/node_modules/playwright');
+const shots = [
+ {url:'https://beverlyhillsvideos.com/', file:'home.png', wait:2000},
+ {url:'https://beverlyhillsvideos.com/videos.html', file:'videos.png', wait:3500},
+ {url:'https://beverlyhillsvideos.com/map.html', file:'map.png', wait:4000},
+ {url:'https://beverlyhillsvideos.com/restaurants/spago.html', file:'spago.png', wait:2500},
+ {url:'https://beverlyhillsvideos.com/restaurants.html', file:'list.png', wait:2000},
+];
+(async () => {
+ const b = await chromium.launch();
+ const ctx = await b.newContext({ viewport:{width:440,height:956}, deviceScaleFactor:3, isMobile:true, hasTouch:true });
+ const page = await ctx.newPage();
+ for (const s of shots) {
+ try { await page.goto(s.url, {waitUntil:'networkidle', timeout:30000}); } catch { await page.goto(s.url, {waitUntil:'domcontentloaded'}); }
+ await page.waitForTimeout(s.wait);
+ await page.screenshot({ path:'store/caps/'+s.file });
+ console.log('captured', s.file);
+ }
+ await b.close();
+})();
diff --git a/store/capture.mjs b/store/capture.mjs
new file mode 100644
index 0000000..fb33e3f
--- /dev/null
+++ b/store/capture.mjs
@@ -0,0 +1,18 @@
+import { chromium } from '/Users/macstudio3/.npm-global/lib/node_modules/playwright/index.js';
+const shots = [
+ {url:'https://beverlyhillsvideos.com/', file:'home.png', wait:2000},
+ {url:'https://beverlyhillsvideos.com/videos.html', file:'videos.png', wait:3500},
+ {url:'https://beverlyhillsvideos.com/map.html', file:'map.png', wait:4000},
+ {url:'https://beverlyhillsvideos.com/restaurants/spago.html', file:'spago.png', wait:2500},
+ {url:'https://beverlyhillsvideos.com/restaurants.html', file:'list.png', wait:2000},
+];
+const b = await chromium.launch();
+const ctx = await b.newContext({ viewport:{width:440,height:956}, deviceScaleFactor:3, isMobile:true, hasTouch:true });
+const page = await ctx.newPage();
+for (const s of shots) {
+ try { await page.goto(s.url, {waitUntil:'networkidle', timeout:30000}); } catch { await page.goto(s.url, {waitUntil:'domcontentloaded'}); }
+ await page.waitForTimeout(s.wait);
+ await page.screenshot({ path:'store/caps/'+s.file });
+ console.log('captured', s.file);
+}
+await b.close();
← 0abdeaa app: wire ASC app id 6798763975 + appleId into eas submit co
·
back to Beverlyhillsvideos App
·
auto-save: 2026-08-06T09:51:16 (1 files) — .gitignore 497c0b3 →