Update example screenshots

This commit is contained in:
Emil Ernerfeldt 2023-02-08 19:04:04 +01:00
parent ebeb788b1f
commit 63fa3aec10
3 changed files with 4 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View file

@ -6,6 +6,8 @@ script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$script_path/.." cd "$script_path/.."
cd examples cd examples
for VARIABLE in $(ls -1d */ | sed 's/\/$//'); do for EXAMPLE_NAME in $(ls -1d */ | sed 's/\/$//'); do
EFRAME_SCREENSHOT_TO="$VARIABLE/screenshot.png" cargo run -p $VARIABLE if [ ${EXAMPLE_NAME} != "hello_world_par" ]; then
EFRAME_SCREENSHOT_TO="$EXAMPLE_NAME/screenshot.png" cargo run -p $EXAMPLE_NAME
fi
done done