Zipping Up an LC standalone program

Pete pete at mollysrevenge.com
Mon Apr 9 20:19:49 EDT 2012


Been putting together a litte script to get all my files ready for a
release and used the revZIPxxx commands to make a zip file of the LC
standalone program - this all on a Mac.  The resulting zip file is only 4kb
in size, obvioulsy not correct.

The code is pretty straightfroward:

   revZipOpenArchive myZipFile,"write"

   *if* the result is not empty *then* *answer* the result

   *answer* file "Zip file"

   revZipAddItemWithFile myZipFile,"myApp.app",it

   *if* the result is not empty *then* *answer* the result

   revZipCloseArchive myZipFile

Zipping the same file with the built-in OS X compress function works fine
and so does the CleanARchiver utitlity.

ANy ideas?

-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>



More information about the use-livecode mailing list