zip_nes_roms.pl: add some options to make correct zip files on windows.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user