Sha256: cfb61047b7af8730d2d158220482a29adc9b84f80f62815676ece704a5304ea8
Contents?: true
Size: 658 Bytes
Versions: 128
Compression:
Stored size: 658 Bytes
Contents
module Deliver class UploadAssets SUPPORTED_ICON_EXTENSIONS = [".png", ".jpg", ".jpeg"] def upload(options) return if options[:edit_live] app = options[:app] v = app.edit_version(platform: options[:platform]) UI.user_error!("Could not find a version to edit for app '#{app.name}'") unless v if options[:app_icon] UI.message("Uploading app icon...") v.upload_large_icon!(options[:app_icon]) end if options[:apple_watch_app_icon] UI.message("Uploading apple watchapp icon...") v.upload_watch_icon!(options[:apple_watch_app_icon]) end v.save! end end end
Version data entries
128 entries across 128 versions & 1 rubygems