Fix Install in the missing-dependency modal (#489)

* Fix Install in the missing-dependency modal

The "Missing required dependency" modal calls download_game without
enableUpdates, but the command requires it, so clicking Install fails with:

  invalid args `enableUpdates` for command `download_game`: command
  download_game missing required key enableUpdates

Pass it the same way the library page does: true when installing the
latest version.

* Update DependencyRequiredModal.vue

---------

Co-authored-by: DecDuck <declanahofmeyr@gmail.com>
This commit is contained in:
Nate Pelzel
2026-09-15 10:16:45 +10:00
committed by GitHub
co-authored by DecDuck
parent 6c3671714d
commit 06eb5e59ac
@@ -95,6 +95,7 @@ async function install() {
versionId: model.value.versionId,
installDir: installDir.value,
targetPlatform: version.platform,
enableUpdates: false,
});
cancel();
} catch (error) {