Fix create modules dir (#1686)

This commit is contained in:
南宫雪珊 2022-02-14 17:57:08 +08:00 committed by GitHub
parent 36d1f8dba7
commit a72f59d07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ public class ConfigFileManager {
var name = base.relativize(path).toString(); var name = base.relativize(path).toString();
if (Files.isDirectory(path)) { if (Files.isDirectory(path)) {
try { try {
os.putNextEntry(new ZipEntry(name)); os.putNextEntry(new ZipEntry(name + "/"));
os.closeEntry(); os.closeEntry();
} catch (IOException e) { } catch (IOException e) {
Log.w(TAG, name, e); Log.w(TAG, name, e);