mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 01:54:37 +00:00 
			
		
		
		
	 5b030303a6
			
		
	
	
		5b030303a6
		
			
		
	
	
	
	
		
			
			* chore: force exec flutter package pub get * feat: support building appimage on github ci
		
			
				
	
	
		
			35 lines
		
	
	
		
			594 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			594 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| no_pub_get=false
 | |
| 
 | |
| while getopts 's' flag; do
 | |
|   case "${flag}" in
 | |
|     s) no_pub_get=true ;;
 | |
|   esac
 | |
| done
 | |
| 
 | |
| echo "Generating flowy icon files"
 | |
| 
 | |
| # Store the current working directory
 | |
| original_dir=$(pwd)
 | |
| 
 | |
| cd "$(dirname "$0")"
 | |
| 
 | |
| # Navigate to the project root
 | |
| cd ../../../appflowy_flutter
 | |
| 
 | |
| rm -rf assets/flowy_icons/
 | |
| mkdir -p assets/flowy_icons/
 | |
| rsync -r ../resources/flowy_icons/ assets/flowy_icons/
 | |
| 
 | |
| flutter pub get
 | |
| flutter packages pub get
 | |
| 
 | |
| echo "Generating FlowySvg classes"
 | |
| dart run flowy_svg
 | |
| 
 | |
| echo "Done generating icon files."
 | |
| 
 | |
| # Return to the original directory
 | |
| cd "$original_dir"
 |