lib/deliver/download_screenshots.rb in deliver-1.10.2 vs lib/deliver/download_screenshots.rb in deliver-1.10.3
- old
+ new
@@ -21,12 +21,12 @@
UI.message("Downloading existing screenshot '#{file_name}'")
# If the screen shot is for an appleTV we need to store it in a way that we'll know it's an appleTV
# screen shot later as the screen size is the same as an iPhone 6 Plus in landscape.
if screenshot.device_type == "appleTV"
- containing_folder = File.join(folder_path, "screenshots", "appleTV", screenshot.language)
+ containing_folder = File.join(folder_path, "appleTV", screenshot.language)
else
- containing_folder = File.join(folder_path, "screenshots", screenshot.language)
+ containing_folder = File.join(folder_path, screenshot.language)
end
begin
FileUtils.mkdir_p(containing_folder)
rescue