lib/roku_builder/packager.rb in roku_builder-3.11.0 vs lib/roku_builder/packager.rb in roku_builder-3.11.1

- old
+ new

@@ -33,10 +33,10 @@ f.request :digest, @dev_username, @dev_password f.adapter Faraday.default_adapter end response = conn.get path return false if response.status != 200 - + out_file = out_file+".pkg" unless out_file.end_with?(".pkg") File.open(out_file, 'w+') {|fp| fp.write(response.body)} true end end end