Raw
1 #!/usr/bin/env bash
2
3 # This command should be run after the cargo tauri ios init.
4 #
5 # Generate icons for mobile platforms from the source artwork. The no-alpha
6 # version is used for iOS. Update the source path below if you change the
7 # artwork location.
8 cargo tauri icon assets/app-icon.png
9
10 # Restore the icons directory to its original state, keeping the freshly
11 # generated .icns for desktop builds.
12 git restore 'src-tauri/icons/*' ':(exclude)src-tauri/icons/*.icns'