mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	update: support Fastlane's official location for screenshots
fastlane/android/metadata/locale/images/*Screenshots https://github.com/fastlane/fastlane/blob/2.61.0/screengrab/lib/screengrab/runner.rb#L324 closes #357
This commit is contained in:
		
							parent
							
								
									a4169484fd
								
							
						
					
					
						commit
						460c4185bb
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -817,6 +817,9 @@ def insert_localized_app_metadata(apps):
 | 
			
		|||
                    shutil.copy(os.path.join(root, f), destdir)
 | 
			
		||||
            for d in dirs:
 | 
			
		||||
                if d in SCREENSHOT_DIRS:
 | 
			
		||||
                    if locale == 'images':
 | 
			
		||||
                        locale = segments[-2]
 | 
			
		||||
                        destdir = os.path.join('repo', packageName, locale)
 | 
			
		||||
                    for f in glob.glob(os.path.join(root, d, '*.*')):
 | 
			
		||||
                        _, extension = common.get_extension(f)
 | 
			
		||||
                        if extension in ALLOWED_EXTENSIONS:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue