Browse Source

Update example screenshots

pull/2633/merge
Emil Ernerfeldt 2 years ago
parent
commit
63fa3aec10
  1. BIN
      examples/custom_window_frame/screenshot.png
  2. BIN
      examples/hello_world/screenshot.png
  3. 6
      sh/generate_example_screenshots.sh

BIN
examples/custom_window_frame/screenshot.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 11 KiB

BIN
examples/hello_world/screenshot.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

6
sh/generate_example_screenshots.sh

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

Loading…
Cancel
Save