Improve autoinstall and other scripts
This commit is contained in:
		
							parent
							
								
									cf6ef78b67
								
							
						
					
					
						commit
						26d81c5c5e
					
				
					 3 changed files with 26 additions and 4 deletions
				
			
		|  | @ -32,13 +32,13 @@ main() | |||
|     if [ -n "$1" ] && [ -e "$1" ] | ||||
|     then | ||||
|         convert "$1" "$path" | ||||
|         clip_image "$path" | ||||
|         upload_image "$path" | ||||
|         clip_image "$path" | ||||
|     else | ||||
|         if [ "$(flameshot gui -r | tee $path | wc -c)" -gt 0 ] | ||||
|         then | ||||
|             clip_image "$path" | ||||
|             upload_image "$path" | ||||
|             clip_image "$path" | ||||
|         fi | ||||
|     fi | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue