Tauri icon icon generation

1. Make icons

Here I made an app-icon.png icon and placed it in the src-tauri/icons directory, which is officially recommended1240px * 1240px
Insert image description here

2. Command line generation

The official scaffolding is used directly here, no need to install additional dependencies.

yarn tauri icon ./src-tauri/icons/app-icon.png

This file will be generated under the ioncs directory.

Guess you like

Origin blog.csdn.net/weixin_35958891/article/details/133020338