Initial commit
This commit is contained in:
1 parent
1ba45f88aa
commit
9e6804c1ab
77 files changed
+3888
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
# Captures all website screenshots from the real Ink app (read only) into src/assets/screens/.
|
||||
# Usage: scripts/capture/run.sh (env: INK_APP, OUT, SCENES)
|
||||
set -e
|
||||
HERE="$(cd "$(dirname "$0")" && pwd)"
|
||||
INK_APP="${INK_APP:-$HERE/../../../../App/Ink}"
|
||||
INK_APP="$(cd "$INK_APP" && pwd)"
|
||||
export INK_APP
|
||||
for theme in dark light; do
|
||||
THEME=$theme "$INK_APP/node_modules/.bin/electron" "$HERE/capture.cjs" \
|
||||
--ozone-platform=headless --force-device-scale-factor=1.5 --no-sandbox 2>&1 | grep -E 'saved|FAILED|Error' || true
|
||||
done
|
||||
Reference in new issue
Block a user