Skip to content

Commit

Permalink
Increase timings in script slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
autumn-mck committed Jul 17, 2023
1 parent 4b7969f commit be3cef7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ check_exit () {
fi
}

sleep 0.1
sleep 1
pid=$(pidof SkinCreator.exe)

window_id=$(xdotool search --sync --all --onlyvisible --pid $pid --name SkinCreator)
Expand Down Expand Up @@ -231,7 +231,7 @@ for theme_index in "${!theme_names[@]}"; do
xdotool key --window $window_id Tab
xdotool key --window $window_id Enter

sleep 0.2
sleep 0.25
check_exit
# Move the caret to the very end of the text box
xdotool keydown --window $window_id ctrl
Expand All @@ -253,7 +253,7 @@ for theme_index in "${!theme_names[@]}"; do
xdotool key --window $window_id Tab
xdotool key --window $window_id Enter

sleep 0.3
sleep 0.35
check_exit
# Move back to the reload button
xdotool key --window $window_id Shift+Tab
Expand Down

0 comments on commit be3cef7

Please sign in to comment.