[mojosetup] mojosetup changing permission inside zip file.

Steffen Pankratz kratz00 at gmx.de
Thu Oct 4 13:02:44 EDT 2012

On Thu, 4 Oct 2012 10:14:37 +0200
Daniel Larsson <znixen at live.se> wrote:

Hi Daniel

> I have made a installer using mojosetp and now i need to change permissions of all files comming from a zip file. and i cant figure out how it is made.
> i have tried putting permissions = "0644" after source = "game-data.zip"
> but i get error when compiling.

try it this way:

Setup.File {
    source = "base:///file.zip",
    filter = function(dest)
         return dest, "0644"


Hermes powered by Fedora 17 (Linux 3.5.4)

Best regards, Steffen Pankratz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://icculus.org/pipermail/mojosetup/attachments/20121004/ce752d2c/attachment.pgp>

More information about the mojosetup mailing list