mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: delete right after
This commit is contained in:
1 parent
932a04a398
commit
0b5d019dc8
1 file changed
+3
-3
@@ -56,6 +56,9 @@ namespace BlitzKit.CLI.Functions
|
||||
|
||||
DlcManifest manifest = await FetchManifest(CONTENT_GROUP, contentBuildId);
|
||||
|
||||
Console.WriteLine("Deleting depot...");
|
||||
Directory.Delete(TEMP_DEPOT_DIR, true);
|
||||
|
||||
Console.WriteLine($"Downloading {manifest.PakFiles.Count} containers...");
|
||||
foreach (var pakFile in manifest.PakFiles)
|
||||
{
|
||||
@@ -75,9 +78,6 @@ namespace BlitzKit.CLI.Functions
|
||||
{
|
||||
File.Move(file, Path.Combine(CONTAINERS_PATH, Path.GetFileName(file)));
|
||||
}
|
||||
|
||||
Console.WriteLine("Deleting depot...");
|
||||
Directory.Delete(TEMP_DEPOT_DIR, true);
|
||||
}
|
||||
|
||||
public static async Task<DlcManifest> FetchManifest(string group, string build)
|
||||
|
||||
Reference in new issue
Block a user