diff options
| author | ruki <[email protected]> | 2023-11-21 00:54:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-21 00:54:34 +0800 |
| commit | d9bd4228a079cadf73092c1317a3a34717c6f3e6 (patch) | |
| tree | 4057320d265da0286c5292a65405a9c79b145c30 /xmake/plugins/pack/archive.lua | |
| parent | 1da08ea73e20ac47aefc95ea74d032ced598ef91 (diff) | |
use best compress for zip
Diffstat (limited to 'xmake/plugins/pack/archive.lua')
| -rw-r--r-- | xmake/plugins/pack/archive.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/archive.lua b/xmake/plugins/pack/archive.lua index d66f5e094..b48cdb7ed 100644 --- a/xmake/plugins/pack/archive.lua +++ b/xmake/plugins/pack/archive.lua @@ -34,7 +34,7 @@ function _pack_archive(package) local oldir = os.cd(rootdir) local archivefiles = os.files("**") os.cd(oldir) - archive.archive(path.absolute(package:outputfile()), archivefiles, {curdir = rootdir}) + archive.archive(path.absolute(package:outputfile()), archivefiles, {curdir = rootdir, compress = "best"}) end function main(package) |
