diff --git a/Qwilight/Utilities/ZipUtility.cs b/Qwilight/Utilities/ZipUtility.cs index ea802a1..208675f 100644 --- a/Qwilight/Utilities/ZipUtility.cs +++ b/Qwilight/Utilities/ZipUtility.cs @@ -18,7 +18,7 @@ if (!entry.IsDirectory) { var entryPath = Path.Combine(targetEntryPath, entry.Key); - Directory.CreateDirectory(entryPath); + Directory.CreateDirectory(Path.GetDirectoryName(entryPath)); using (var fs = File.Open(entryPath, FileMode.Create)) {