Skip to content

Commit b3776ef

Browse files
authored
Fixed URI download path. (#9255)
1 parent 2136520 commit b3776ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Files.Uwp/ServicesImplementation/SideloadUpdateService.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ public async Task DownloadUpdates()
6969
}
7070
});
7171

72+
var currentPackageName = Package.Current.Id.Name;
73+
7274
// Have to use ForceTargetAppShutdown flag as the appinstaller won't update while it's being used.
7375
deploymentResult = await pm.RequestAddPackageByAppInstallerFileAsync(
74-
DownloadUri,
76+
new Uri(_sideloadVersion[currentPackageName]),
7577
AddPackageByAppInstallerOptions.ForceTargetAppShutdown,
7678
pm.GetDefaultPackageVolume()).AsTask(progress);
7779

0 commit comments

Comments
 (0)