forked from Qortal/qortal
Don't exclude hidden files in the zips, as the .qortal folder needs to be included.
This commit is contained in:
parent
9850c294d1
commit
f5615b1c54
@ -48,9 +48,6 @@ public class ZipUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void zip(final File fileToZip, final String fileName, final ZipOutputStream zipOut) throws IOException {
|
public static void zip(final File fileToZip, final String fileName, final ZipOutputStream zipOut) throws IOException {
|
||||||
if (fileToZip.isHidden()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (fileToZip.isDirectory()) {
|
if (fileToZip.isDirectory()) {
|
||||||
if (fileName.endsWith("/")) {
|
if (fileName.endsWith("/")) {
|
||||||
zipOut.putNextEntry(new ZipEntry(fileName));
|
zipOut.putNextEntry(new ZipEntry(fileName));
|
||||||
|
Loading…
Reference in New Issue
Block a user