From 4728ea177cef112322aa0554850cdb6cac0b23ab Mon Sep 17 00:00:00 2001 From: DecDuck Date: Wed, 25 Feb 2026 23:27:30 +1100 Subject: [PATCH] Game updates (#187) * refactor: split umu launcher * feat: latest version picker + fixes * feat: frontend latest changes * feat: game update detection w/ setting * feat: fixes and refactor for game update * fix: windows ui * fix: deps * feat: update modifications * feat: missing ui and lock update * fix: create install dir on init * fix: clippy * fix: clippy x2 * feat: add configuration option to toggle updates * feat: uninstall dropdown on partiallyinstalled --- main/components/GameOptions/Launch.vue | 19 +- main/components/GameOptions/Updates.vue | 36 +++ main/components/GameOptionsModal.vue | 26 +- main/components/GameStatusButton.vue | 173 +++++++---- main/components/HeaderProtonSupportWidget.vue | 22 +- main/components/LibrarySearch.vue | 102 ++++--- main/composables/game.ts | 50 ++-- main/composables/proton.ts | 32 ++ main/package.json | 3 +- main/pages/library.vue | 1 + main/pages/library/[id]/index.vue | 273 +++++++++++++----- main/pages/settings/compat.vue | 22 +- main/pnpm-lock.yaml | 108 ++++--- main/pnpm-workspace.yaml | 14 + main/tailwind.config.js | 4 +- main/types.ts | 46 ++- src-tauri/Cargo.lock | 36 ++- src-tauri/Cargo.toml | 3 +- src-tauri/client/src/app_state.rs | 3 +- src-tauri/database/src/db.rs | 5 + src-tauri/database/src/models.rs | 34 ++- .../download_manager/src/depot_manager.rs | 4 +- src-tauri/download_manager/src/error.rs | 10 +- src-tauri/games/Cargo.toml | 5 +- .../games/src/downloads/download_agent.rs | 74 +++-- .../games/src/downloads/download_logic.rs | 6 +- src-tauri/games/src/downloads/drop_data.rs | 56 +++- src-tauri/games/src/library.rs | 71 +++-- src-tauri/games/src/scan.rs | 23 +- src-tauri/process/src/process_handlers.rs | 99 +++++-- src-tauri/process/src/process_manager.rs | 66 ++--- src-tauri/remote/src/utils.rs | 35 +-- src-tauri/src/collections.rs | 4 +- src-tauri/src/downloads.rs | 58 ++-- src-tauri/src/games.rs | 52 ++-- src-tauri/src/lib.rs | 27 +- src-tauri/src/scheduler.rs | 43 +++ src-tauri/src/updates.rs | 121 ++++++++ 38 files changed, 1193 insertions(+), 573 deletions(-) create mode 100644 main/components/GameOptions/Updates.vue create mode 100644 main/composables/proton.ts create mode 100644 src-tauri/src/scheduler.rs create mode 100644 src-tauri/src/updates.rs diff --git a/main/components/GameOptions/Launch.vue b/main/components/GameOptions/Launch.vue index d19cb0e..69101fe 100644 --- a/main/components/GameOptions/Launch.vue +++ b/main/components/GameOptions/Launch.vue @@ -11,7 +11,7 @@ class="block w-full rounded-md bg-zinc-800 px-3 py-1.5 text-base text-zinc-100 outline-1 -outline-offset-1 outline-zinc-800 placeholder:text-zinc-400 focus:outline-2 focus:-outline-offset-2 focus:outline-blue-600 sm:text-sm/6" placeholder="{}" aria-describedby="launch-description" - v-model="model.launchString" + v-model="model.launchTemplate" />

@@ -129,9 +129,9 @@ -

  • No auto-discovered layers.
  • +
  • + No auto-discovered layers. +
  • Manually added

    @@ -170,9 +170,9 @@ -
  • No manually added layers.
  • +
  • + No manually added layers. +
  • @@ -190,7 +190,7 @@ diff --git a/main/components/GameOptionsModal.vue b/main/components/GameOptionsModal.vue index 8850363..6d63873 100644 --- a/main/components/GameOptionsModal.vue +++ b/main/components/GameOptionsModal.vue @@ -1,7 +1,7 @@