-
Notifications
You must be signed in to change notification settings - Fork 91
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
ZIP destination consistency #35
Comments
yes I agree that tempDirectory/a/b.js makes sense for windows and linux. |
Does that apply to just when you're using DMGs or ZIps as well? |
zip as well. The app in mac is a folder. You can run it. |
Oh, but I mean they could still have a ZIP with a/b/c.app inside. I've making these sort of changes on my |
they may have. Though to copy stuff properly we have a restriction that there should be a single folder in the package at a root level. For win and linux we have several files generated by webkit-builder thus they have to be in a folder. For mac we have single folder as executable thus it may be at a root level. |
Well, we will always because it'll be inside a package (ZIP, etc.) and the ZIP's basename is used to create a folder. Have a good look at #37 and tell if something doesn't make sense. |
I guess with #37 it finally does makes sense, thanks! |
😄 |
Closing since #37 is merged |
For a second, forget what should be in inside the ZIPs.
If you have a ZIP called
a.zip
, with justb.js
in it, what's the path ofb.js
after unpacking? What's desired?tempDirectory/b.js
?tempDirectory/a/b.js
?Since e281927 and e41c864, on Windows, the contents of the ZIP is unpacked into a directory named after the basename of the ZIP (inside temp). So it would be
tempDirectory/a/b.js
.If the other platforms don't do this, we should make it so.
The text was updated successfully, but these errors were encountered: