ZIP file created with SharpZipLib cannot be opened on Mac OS X

前端 未结 10 1315
有刺的猬
有刺的猬 2021-02-04 08:31

Argh, today is the day of stupid problems and me being an idiot.

I have an application which creates a zip file containing some JPEGs from a certain directory. I use th

10条回答
  •  一整个雨季
    2021-02-04 09:14

    I encountered weird behavior when archive is empty (no entries inside it) it can not be opened on MAC - generates cpgz only. The idea was to put a dummy .txt file in it in case when no files for archiving.

提交回复
热议问题