1

zip_nes_roms.pl: add some options to make correct zip files on windows.

This commit is contained in:
Sergei
2017-02-14 06:46:35 +00:00
parent 1282d0219b
commit 2de32153e6

View File

@@ -43,7 +43,7 @@ sub zlist(@){
foreach $item (@list) { foreach $item (@list) {
printf ("zipping: %s", $item); printf ("zipping: %s", $item);
zip [$item] => "$item.zip", -Level => Z_BEST_COMPRESSION, Minimal => 1, TextFlag => 0; zip [$item] => "$item.zip", -Level => Z_BEST_COMPRESSION, Minimal => 1, TextFlag => 0, BinModeIn => 1, AutoClose => 1, CanonicalName => 1;
if(length($ZipError) > 0){ if(length($ZipError) > 0){
printf (" Warning: unable to zip %s - %s\n", $item, $ZipError); printf (" Warning: unable to zip %s - %s\n", $item, $ZipError);