lib/deliver/download_screenshots.rb in deliver-1.16.1 vs lib/deliver/download_screenshots.rb in deliver-1.16.2
- old
+ new
@@ -26,9 +26,13 @@
containing_folder = File.join(folder_path, "appleTV", screenshot.language)
else
containing_folder = File.join(folder_path, screenshot.language)
end
+ if screenshot.is_imessage
+ containing_folder = File.join(folder_path, "iMessage", screenshot.language)
+ end
+
begin
FileUtils.mkdir_p(containing_folder)
rescue
# if it's already there
end