Zipping Up an LC standalone program
Mark Schonewille
m.schonewille at economy-x-talk.com
Tue Apr 10 11:39:48 EDT 2012
Pete,
This is a line from my Compression Tool software. It zips without the .DS_Store files. Item -1 of fld "File" is the name of a file or folder in the current defaultFolder.
put "zip -r" && quote & myZipFile & quote && quote & item -1 of fld "File" & quote && " -x .* *.DS_Store *Icon*" into myShell
Installer Maker compresses all embedded files with the compress() function. Compressing the resulting installer again hardly saves any space. The compress() function is very efficient.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Get the extIco2Png external for LiveCode here http://qery.us/1w6
On 10 apr 2012, at 17:25, Pete wrote:
> Thanks guys. I was hoping for a way to automate this and a few other steps
> involved in getting my app ready for release by using the standaloneSaved
> message, that's why I was using the revZIPxxx commands.
>
> I was also hoping that they would get around the problem I came across with
> the built in Mac compress function when the archive is unzipped on a
> Windows machine - some unnecessary files are included in the archive -
> .dstore if I remember correctly. I found a program named CleanArchiver
> that gets around that problem but, once again, makes it difficult to
> automate things using an external program.
>
> I'll give tar a try.
>
> Pete
>
More information about the use-livecode
mailing list