lib/motion/project/package.rb in motion-sparkle-0.0.3 vs lib/motion/project/package.rb in motion-sparkle-0.0.4
- old
+ new
@@ -22,11 +22,11 @@
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 --symlinks "#{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}"
@@ -39,6 +39,6 @@
App.info "Signature", "\"#{@package_signature}\""
end
end
-end
\ No newline at end of file
+end