Testing tool to boot over and over and capture Jace screen

This commit is contained in:
Martin Haye 2022-01-05 11:57:04 -08:00
parent f2c9e83eb7
commit ff9072700b

View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
mkdir -p jacecaps
while [[ 1 ]]; do
DATETIME=`date '+%Y%m%d-%H%M%S'`
echo $DATETIME
#"/Users/mhaye/AppleII/Projects/LawlessLegends/Lawless Legends-osx/Lawless Legends.app/Contents/MacOS/LawlessLegends" -computer.showBootAnimation false &
open "/Users/mhaye/AppleII/Projects/LawlessLegends/Lawless Legends-osx/Lawless Legends.app"
sleep 25
OUTFILE="jacecaps/$DATETIME.png"
screencapture -R440,180,559,406 -t png -x $OUTFILE
file $OUTFILE
pkill LawlessLegends
sleep 1
done