mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 00:21:33 -07:00
Fix edge case regarding package restoration
Exception is thrown if the Downloads folder does not exist when trying to restore the original version of a modded file Addresses #3308
This commit is contained in:
parent
637af71299
commit
59bcf6fd27
@ -1053,6 +1053,8 @@ namespace Bloxstrap
|
||||
if (_cancelTokenSource.IsCancellationRequested)
|
||||
return;
|
||||
|
||||
Directory.CreateDirectory(Paths.Downloads);
|
||||
|
||||
string packageUrl = Deployment.GetLocation($"/{_latestVersionGuid}-{package.Name}");
|
||||
string robloxPackageLocation = Path.Combine(Paths.LocalAppData, "Roblox", "Downloads", package.Signature);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user