Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having trouble unzipping mac app (atom shell) #43

Open
reggi opened this issue Jan 21, 2015 · 7 comments
Open

Having trouble unzipping mac app (atom shell) #43

reggi opened this issue Jan 21, 2015 · 7 comments

Comments

@reggi
Copy link

reggi commented Jan 21, 2015

I'm attempting to unzip the darwin mac app for atom shell .

I've tried a ton of npm modules as well as issued some bugs but no response.

Every time I try to unzip the atom shell app with node / programmatically I get this error.

screen shot 2015-01-15 at 12 35 34 pm

I opened up mac Console and can see it logs the following when I try to run:

1/21/15 4:02:11.440 PM com.apple.xpc.launchd[1]: (com.github.atom-shell.255064[19701]) Could not find and/or execute program specified by service: 13: Permission denied: /Users/thomas/Desktop/wallpaper/wallpaper-app/build/Atom.app/Contents/MacOS/Atom
1/21/15 4:02:11.440 PM com.apple.xpc.launchd[1]: (com.github.atom-shell.255064[19701]) Service setup event to handle failure and will not launch until it fires.
1/21/15 4:02:11.440 PM Finder[339]: spawn_via_launchd() failed, errno=111 label=com.github.atom-shell.255064 path=/Users/thomas/Desktop/wallpaper/wallpaper-app/build/Atom.app/Contents/MacOS/Atom flags=1 : LaunchApplicationClient.cp #1136 LaunchApplicationViaLaunchDJobLabel() q=com.apple.root.default-qos
1/21/15 4:02:11.440 PM Finder[339]: spawn_via_launchd() failed, errno=111 label=com.github.atom-shell.255064 path=/Users/thomas/Desktop/wallpaper/wallpaper-app/build/Atom.app/Contents/MacOS/Atom flags=1

I was really happy to see that this library had support for symlinks, and it seems to look as it they are working working. However the app still won't open. Thoughts?

@sindresorhus
Copy link
Contributor

The problem is that none of these unzip libs preserve the executive permissions.

Similar issue with workaround: sindresorhus/gulp-zip#38

@reggi
Copy link
Author

reggi commented Jan 22, 2015

I created a diff repo between output from ls -laR for extracted versions of atom-shell with decompress-zip and archive utility. Could be useful in understand things better.

reggi/atom-shell-ls-zip-diff@fa79300?diff=split

@szwacz
Copy link
Contributor

szwacz commented Jan 22, 2015

Same issue led me to this PR: #32
So I believe we are almost having first decompressor which preserves file permissions.

@reggi
Copy link
Author

reggi commented Jan 22, 2015

@szwacz Thats amazing! Really excited!

@brian-mann
Copy link

@reggi did you find any module that works?

@reggi
Copy link
Author

reggi commented Jul 28, 2015

@brian-mann Sorry I don't remember where I last left off.

@reggi
Copy link
Author

reggi commented Jul 28, 2015

@brian-mann I think the root of my particular issue was codesigning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants