mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-19 15:51:50 +00:00
Fix error downloading some depots to current directory (-dir .)
This commit is contained in:
1 parent
25c47e2fbb
commit
0f2edd0a94
1 file changed
+1
-1
@@ -719,7 +719,7 @@ namespace DepotDownloader
|
||||
|
||||
string path = Path.GetDirectoryName(downloadPath);
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
if (path != "" && !Directory.Exists(path))
|
||||
Directory.CreateDirectory(path);
|
||||
|
||||
if ( dirEntry.FileID == -1 )
|
||||
|
||||
Reference in new issue
Block a user