La simu multi-agents qui repeint une image, mais en c++ Boilerplate pompé ici : https://github.com/andrew-r-king/sfml-vscode-boilerplate
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

win-make_icon_from_all.sh 792B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. echo
  3. if [[ $OSTYPE == 'msys' || $OSTYPE == 'win32' ]]; then
  4. if hash magick 2>/dev/null; then
  5. read -p "Icon Prefix (\"icon\"): " icon_prefix
  6. if [[ $icon_prefix == '' ]]; then
  7. icon_prefix='icon'
  8. fi
  9. output_file=app
  10. cmd="magick convert ${icon_prefix}_256.png ${icon_prefix}_128.png ${icon_prefix}_64.png ${icon_prefix}_48.png ${icon_prefix}_32.png ${icon_prefix}_16.png $output_file.ico"
  11. echo "$cmd"
  12. $cmd
  13. echo
  14. echo "Successfully created $output_file.ico!"
  15. else
  16. echo 'This script requires the "ImageMagick" command-line utility'
  17. echo 'Download from: https://www.imagemagick.org/script/download.php#windows'
  18. echo '(Install to default location)'
  19. fi
  20. else
  21. echo 'This script should only run in win32'
  22. fi
  23. echo
  24. read -rsn1 -p"Press any key to continue";echo