mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-09-27 14:56:40 +00:00
Testing tool to boot over and over and capture Jace screen
This commit is contained in:
parent
f2c9e83eb7
commit
ff9072700b
15
Platform/Apple/virtual/tools/jacetest.sh
Executable file
15
Platform/Apple/virtual/tools/jacetest.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user