fix: retain downloaded collection packages during install
Pass the selected collection and store to the installer so a catalog-only game remains available after installation.
This commit is contained in:
1 parent
173beb7392
commit
a82130edb0
1 file changed
+1
-1
@@ -222,7 +222,7 @@ namespace Cthangover.BaseMenu
|
|||||||
var catalog = CatalogService.CachedEntries ?? new List<CatalogExportEntry>();
|
var catalog = CatalogService.CachedEntries ?? new List<CatalogExportEntry>();
|
||||||
var graph = ModCollectionResolver.Resolve(collection, collections, ModRegistry.Instance.AllDiscoveredMods,
|
var graph = ModCollectionResolver.Resolve(collection, collections, ModRegistry.Instance.AllDiscoveredMods,
|
||||||
DisabledModsStore.Load(), catalog, _sessionInstalled);
|
DisabledModsStore.Load(), catalog, _sessionInstalled);
|
||||||
var ok = await ModCollectionInstaller.ApplyAsync(ModCollectionPlan.Build(graph, catalog), _sessionInstalled);
|
var ok = await ModCollectionInstaller.ApplyAsync(ModCollectionPlan.Build(graph, catalog), _sessionInstalled, collection, collections);
|
||||||
if (!IsInstanceValid(this))
|
if (!IsInstanceValid(this))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user