What causes this?
Know what causes this ZIP problem? Know of a way to get around it? I want to automate the process of creating ZIP files and not having to manually point-and-click . . .
how are you creating the zips?
zip "MagicMenu" *.app
i presume you're using Info-ZIP.
do a "unzip -l" with the 2 archives and see if the one created by the GUI has more files? ie hidden ones that start with a period.
if it's indeed missing the hidden files, the -S parameter should help.
well.. macintel got rid of classic support. i would suggest first upgrading to info-zip 3.0 ( http://info-zip.org/Zip.html ) and trying with that first. at minimum,download and recompile some version of it. i'm sure the gui one you are using isn't using the same executables but a different compiled exec.
Ok. Here is the difference between the two ZIP files.
The ZIP File That Does Not Work
Length Date Time Name
The ZIP File That Works
Length Date Time Name
I typed "zip -S archive readme.txt" and got "zip error:: Invalid command arguments (no such option: S)" . . . I didn't see anything with regards to the "-S" switch in the help page either.
i saw it in the man page, but -S didn't work for me either. i wonder if i have another copy of zip installed.
-S [MSDOS, OS/2, WIN32 and ATARI] Include system and hidden files.
i created the files and directories by hand and it seems to work if i used -r:
$ zip -r magic *
this might not work if __MACOSX is hidden and i am not sure if all the permission bits in the zip file would be set correctly.
maybe you should use .dmg instead, since most mac apps are distributed that way.
here's a command line creator...
Ok, I have created an universal DMG creation script based on the information presented in the web site above. You can download it here: MakeDMG.ksh (GPL)
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
33 Users Online
Copyright © 2004 - 2017. All Rights Reserved.