From 2b3bd11a463453c754366e52570f7b771354344d Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 26 Feb 2013 15:07:11 -0800 Subject: [PATCH] Use tar.bz2 instead of zip to package Atom.app zip was modifying some framework binaries, which causes codesigning to fail --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 13a3db9ff..881373e58 100644 --- a/Rakefile +++ b/Rakefile @@ -59,10 +59,10 @@ task :package => ["bump-patch-number", "build"] do path = application_path() exit 1 if not path - dest_path = '/tmp/atom-for-speakeasy/Atom.app.zip' + dest_path = '/tmp/atom-for-speakeasy/Atom.tar.bz2' `mkdir -p $(dirname #{dest_path})` `rm -rf #{dest_path}` - `pushd $(dirname #{path}); zip -r #{dest_path} $(basename #{path}); popd` + `tar --directory $(dirname #{path}) -jcvf #{dest_path} $(basename #{path})` `open $(dirname #{dest_path})` end