main
sh 10 lines 386 Bytes
Raw
1 #!/usr/bin/env bash
2
3 # This command should be run after the cargo tauri android|ios init.
4 #
5 # Generate icon for mobile platforms. The no-alpha version is used for iOS. Should update the script
6 # if Android icon is broken.
7 cargo tauri icon assets/app-icon-macos.png
8
9 # Restore the icons directory to its original state.
10 git restore 'src-tauri/icons/*' ':(exclude)src-tauri/icons/*.icns'