lib/motion/project/package.rb in motion-sparkle-0.0.1 vs lib/motion/project/package.rb in motion-sparkle-0.0.2
- old
+ new
@@ -22,10 +22,10 @@
end
if File.exist?("#{sparkle_release_path}/#{zip_file}")
App.fail "Release already exists at ./#{sparkle_release_path}/#{zip_file} (remove it manually with `rake sparkle:clean`)"
end
FileUtils.cd(app_release_path) do
- `zip -r #{zip_file} "#{app_file}"`
+ `zip -r "#{zip_file}" "#{app_file}"`
end
FileUtils.mv "#{app_release_path}/#{zip_file}", "./#{sparkle_release_path}/"
App.info "Create", "./#{sparkle_release_path}/#{zip_file}"
@package_file = zip_file
@package_size = File.size "./#{sparkle_release_path}/#{zip_file}"
\ No newline at end of file