lib/deliver/upload_screenshots.rb in deliver-1.3.2 vs lib/deliver/upload_screenshots.rb in deliver-1.3.3
- old
+ new
@@ -62,9 +62,13 @@
files.each do |path|
if prefer_framed && !path.downcase.include?("_framed.#{extensions}") && !path.downcase.include?("watch")
next
end
+ if !prefer_framed && path.downcase.include?("_framed.#{extensions}")
+ next
+ end
+
screenshots << AppScreenshot.new(path, language)
end
end
return screenshots