Skip to content

Commit

Permalink
Output correct path in demo record script
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Aug 1, 2023
1 parent 1712ad0 commit 37dc31b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions demo/record_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ mkdir -p demo/output

terminalizer -c demo/config.yml record --skip-sharing -d "go run cmd/integration_test/main.go cli --slow $TEST" "demo/output/$NAME"
terminalizer render "demo/output/$NAME" -o "demo/output/$NAME.gif"
gifsicle --colors 256 --use-col=web -O3 < "demo/output/$NAME.gif" > "demo/output/$NAME-compressed.gif"
COMPRESSED_PATH="demo/output/$NAME-compressed.gif"
gifsicle --colors 256 --use-col=web -O3 < "demo/output/$NAME.gif" > "$COMPRESSED_PATH"

echo "Demo recorded to demo/$NAME-compressed.gif"
echo "Demo recorded to $COMPRESSED_PATH"

0 comments on commit 37dc31b

Please sign in to comment.