Skip to content

Commit 5bdb643

Browse files
committed
regenerate demo screencast using gif instead of svg
1 parent 17fa9c8 commit 5bdb643

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Create feature-rich bash scripts using simple YAML configuration
1313

1414
---
1515

16-
![demo](demo/cast.svg)
16+
![demo](demo/cast.gif)
1717

1818
</div>
1919

demo/cast.gif

1.24 MB
Loading

demo/cast.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

demo/demo-maker.ahk

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
; --------------------------------------------------
22
; This script generates the demo svg
3+
; NOTE: This should be executed in the demo folder
34
; --------------------------------------------------
45
#SingleInstance Force
56
SetkeyDelay 0, 50
67

7-
; NOTE: This should be executed in the demo folder
8-
98
Outfile := "cast.svg"
109
Template := "window_frame"
1110

@@ -19,6 +18,8 @@ Type(Command, Delay=2000) {
1918
}
2019

2120
F12::
21+
Type("{#} Press F11 to abort at any time")
22+
Type("cd ./demo")
2223
Type("rm -rf myapp")
2324
; Type("termtosvg " Outfile " -t " Template)
2425
Type("rm cast.json {;} asciinema rec cast.json")
@@ -29,7 +30,7 @@ F12::
2930
Type("{#} Create a sample Bashly configuration file", 500)
3031
Type("bashly init")
3132
Type("vi src/bashly.yml", 4000)
32-
Type(":q!", 500)
33+
Type(":exit", 500)
3334

3435
Type("{#} Generate the bash script", 500)
3536
Type("bashly generate")
@@ -53,13 +54,16 @@ F12::
5354
; Type("./cli download the-internet")
5455

5556
Type("exit")
56-
Type("cat cast.json | svg-term --out cast.svg --window")
57+
Type("agg --font-size 20 cast.json cast.gif")
58+
Sleep 400
59+
Type("cd ..")
60+
Type("{#} Done")
5761
Return
5862

5963
^F12::
6064
Reload
6165
return
6266

63-
^x::
67+
F11::
6468
ExitApp
6569
return

0 commit comments

Comments
 (0)