Skip to content

Releases

Release v2.5.0

Choose a tag to compare

@yzi111 yzi111 released this 12 Sep 11:09

🎯 v2.5.0 - 完全适配 Decky Loader 3.x

✨ 重大更新

  • 完全重构构建配置:完全按照成熟插件 unifideck 的配置标准重写
  • 使用 @decky/rollup 官方构建工具:标准化构建流程,确保与 Decky Loader 完全兼容
  • 正确的输出格式:使用 ESM 格式输出,正确映射 SP_REACT 全局变量
  • 修复插件定义:从 @decky/api 导入 definePlugin,添加正确的 name 字段

🔧 技术改进

  • 采用 @decky/rollup 默认配置,自动处理所有依赖映射
  • 正确的 React 全局变量映射(SP_REACT, SP_REACTDOM)
  • @decky/ui 和 @decky/api 放入 dependencies(而非 devDependencies)
  • 符合 Decky Loader 3.2.8 的最新标准

📦 安装说明

  1. 下载 trainer-manager-v2.5.0-complete.zip
  2. 在 Steam Deck 上打开 Decky Loader
  3. 进入设置 → 开发者模式 → 从 ZIP 安装插件
  4. 选择下载的 ZIP 文件

🙏 致谢

参考了成熟插件 unifideck 的构建配置,确保与 Decky Loader 生态系统完全兼容。


完整更新日志: v2.4.3...v2.5.0

v2.4.3 - API Integration Fix

Choose a tag to compare

@yzi111 yzi111 released this 12 Sep 10:05

🔧 Critical Fix - DeckyAPI Not Defined

Fixed

  • @decky/api: Now properly bundled instead of marked as external
  • Manifest: Added internal manifest module for @decky/api initialization
  • IIFE: Simplified to single parameter (DFL only)

Root Cause

@decky/api requires @decky/manifest to initialize via window.__DECKY_SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_deckyLoaderAPIInit. Cannot be mapped to a simple global variable like @decky/ui.

Technical Details

  • @decky/api now bundled (~650KB total)
  • Created internal src/manifest.ts with plugin name
  • Rollup alias maps @decky/manifest to internal file
  • Only @decky/ui remains external (mapped to DFL)
  • IIFE signature: (function (ui) { ... })(DFL)

Installation

cd ~/Downloads
wget https://github.com/yzi111/steam-deck-trainer-manager/releases/download/v2.4.3/trainer-manager-v2.4.3-complete.zip
unzip trainer-manager-v2.4.3-complete.zip -d ~/homebrew/pluginloader/plugins/
cd ~/homebrew/pluginloader/plugins/TrainerManager
python3 -m pip install -r requirements.txt --user

Restart Decky Loader or reboot your Steam Deck.


This version properly bundles @decky/api with its required manifest, fixing the "DeckyAPI is not defined" error.

v2.4.2 - Module Format Fix

Choose a tag to compare

@yzi111 yzi111 released this 12 Sep 09:45

🔧 Critical Fix - Module Specifier Error

Fixed

  • Build Format: Changed from ES module to IIFE format
  • Compatibility: Now properly loads in Decky Loader without module resolution errors

Root Cause

Previous version output ES module format (import ... from) but Decky Loader expects IIFE format. Browser cannot resolve bare module specifiers like '@decky/ui' without a bundler.

Technical Details

  • Output format: es → iife
  • Bundle name: TrainerManagerPlugin
  • External dependencies mapped to globals: @decky/ui → DFL, @decky/api → DeckyAPI
  • React 19 and react-icons still fully bundled (~600KB)

Installation

cd ~/Downloads
wget https://github.com/yzi111/steam-deck-trainer-manager/releases/download/v2.4.2/trainer-manager-v2.4.2-complete.zip
unzip trainer-manager-v2.4.2-complete.zip -d ~/homebrew/pluginloader/plugins/
cd ~/homebrew/pluginloader/plugins/TrainerManager
python3 -m pip install -r requirements.txt --user

Restart Decky Loader or reboot your Steam Deck.


This version fixes the "Failed to resolve module specifier" error by using IIFE format instead of ES modules.

v2.4.1 - React Bundling Fix

Choose a tag to compare

@yzi111 yzi111 released this 12 Sep 09:29

🔧 Critical Fix - React Not Defined (Again)

Fixed

  • Frontend: React 19 now properly bundled into plugin
  • Build: Switched from @decky/rollup to manual rollup config for full control
  • Size: dist/index.js increased to ~600KB (includes React 19 + react-icons)

Root Cause

@decky/rollup automatically replaces React with SP_REACT global variable, which doesn't exist in current Decky Loader versions. Manual rollup config ensures React is actually bundled.

Technical Details

  • Removed @decky/rollup dependency
  • Using manual rollup config with @rollup/plugin-commonjs, @rollup/plugin-node-resolve, @rollup/plugin-typescript
  • React and react-icons are now bundled, only @decky/ui and @decky/api remain external
  • Output format: ES module

Installation

cd ~/Downloads
wget https://github.com/yzi111/steam-deck-trainer-manager/releases/download/v2.4.1/trainer-manager-v2.4.1-complete.zip
unzip trainer-manager-v2.4.1-complete.zip -d ~/homebrew/pluginloader/plugins/
cd ~/homebrew/pluginloader/plugins/TrainerManager
python3 -m pip install -r requirements.txt --user

Restart Decky Loader or reboot your Steam Deck.


This version fixes the "React is not defined" error by actually bundling React instead of relying on non-existent globals.

v2.4.0 - Steam UI Compatibility Update

Choose a tag to compare

@yzi111 yzi111 released this 11 Sep 11:02

🚀 Major Update - New Steam UI Support

Updated

  • API: Migrated to @decky/api v2 and @decky/ui v4.11
  • React: Upgraded to React 19 for better performance
  • Build System: Using official @decky/rollup plugin
  • Type Safety: Full TypeScript with callable<> type-safe backend calls

Breaking Changes

  • Requires Decky Loader 3.x with new Steam UI
  • Old decky-frontend-lib replaced with @decky/ui and @decky/api

Technical Details

  • Frontend now uses modern callable<> pattern instead of serverAPI.callPluginMethod
  • Build output is ES module format
  • Better tree-shaking and smaller bundle size
  • Full compatibility with latest Steam Deck firmware

Installation

cd ~/Downloads
wget https://github.com/yzi111/steam-deck-trainer-manager/releases/download/v2.4.0/trainer-manager-v2.4.0-complete.zip
unzip trainer-manager-v2.4.0-complete.zip -d ~/homebrew/pluginloader/plugins/
cd ~/homebrew/pluginloader/plugins/TrainerManager
python3 -m pip install -r requirements.txt --user

Restart Decky Loader or reboot your Steam Deck.


Note: If you're still on older Decky Loader versions, please use v2.3.5 instead.

v2.3.5 - React Bundled Fix

Choose a tag to compare

@yzi111 yzi111 released this 11 Sep 10:01

🎯 Critical Fix - React Not Defined

Fixed

  • Frontend: Bundled React into plugin (no longer relies on external globals)
  • Frontend: Removed staticClasses reference
  • Size: dist/index.js now includes React (~130KB vs 22KB)

This version fixes the ReferenceError: React is not defined error on Decky Loader 3.x.

Installation

cd ~/Downloads
wget https://github.com/yzi111/steam-deck-trainer-manager/releases/download/v2.3.5/trainer-manager-v2.3.5-complete.zip
unzip trainer-manager-v2.3.5-complete.zip -d ~/homebrew/pluginloader/plugins/
cd ~/homebrew/pluginloader/plugins/TrainerManager
python3 -m pip install -r requirements.txt --user

Restart Decky Loader or reboot your Steam Deck.

v2.3.4 - Fix Plugin Name (Critical)

Choose a tag to compare

@yzi111 yzi111 released this 11 Sep 08:21

Critical Fix - Plugin Name

Fixed plugin installation failure caused by space in plugin name.

Fixed

  • plugin.json: Changed name from "Trainer Manager" to "TrainerManager" (Decky requirement)
  • Plugin should now install correctly via Decky's URL installer

Previous fixes (v2.3.3)

  • Backend: Added missing _unload method
  • Frontend: Removed undefined staticClasses reference

Installation

cd ~/Downloads
wget https://github.com/yzi111/steam-deck-trainer-manager/releases/download/v2.3.4/trainer-manager-v2.3.4-complete.zip
unzip -o trainer-manager-v2.3.4-complete.zip -d ~/homebrew/pluginloader/plugins/TrainerManager
cd ~/homebrew/pluginloader/plugins/TrainerManager
python3 -m pip install -r requirements.txt --user

Then restart Decky Loader.

v2.3.3 - Critical Bug Fixes

Choose a tag to compare

@yzi111 yzi111 released this 11 Sep 07:30

Critical Fixes

Fixed

  • Backend: Added missing _unload method (required by Decky Loader)
  • Frontend: Removed undefined staticClasses reference that caused runtime error
  • Frontend: Simplified title rendering

Installation

cd ~/Downloads
wget https://github.com/yzi111/steam-deck-trainer-manager/releases/download/v2.3.3/trainer-manager-v2.3.3-complete.zip
unzip -o trainer-manager-v2.3.3-complete.zip -d ~/homebrew/pluginloader/plugins/trainer-manager
cd ~/homebrew/pluginloader/plugins/trainer-manager
python3 -m pip install -r requirements.txt --user

Then restart Decky Loader.

v2.3.2 - Fix Missing Frontend Build

Choose a tag to compare

@yzi111 yzi111 released this 11 Sep 07:04

Critical Fix - Missing Frontend Build

This release fixes the issue where the plugin would not display in Decky Loader.

Fixed

  • Missing dist/index.js in previous packages
  • Incomplete frontend build distribution

Installation

Download and extract to: ~/homebrew/pluginloader/plugins/trainer-manager/

v2.3.1 - Decky Loader 3.2+ Compatibility Fix

Choose a tag to compare

@yzi111 yzi111 released this 11 Sep 06:49

?? v2.3.1 - Decky Loader 3.2+ ?????

?? ????

?? Decky Loader 3.2.8 ?????!

???? Decky Loader 3.2+ ???????,??????!


? ????

  • ? plugin.json: api_version: 0 ? api_version: 1 (Decky 3.x ??)
  • ? ?????: v2.3.0 ? v2.3.1
  • ? ???? Decky Loader 3.2.0 - 3.2.8

?? ????

????(??)

  1. ?? trainer-manager-v2.3.1-final.zip
  2. ??? Steam Deck
  3. ????:
    bash pip install aiohttp psutil
  4. Decky ????? ? ?????
  5. ??!

????


?? ????(????)

  • ? ?? FLiNG ?????
  • ? ????????
  • ? ???????
  • ? ??????
  • ? ??????
  • ? ????? (<0.3%)

?? ????

?? ???? ????
Decky Loader 3.0.0 3.2.8
SteamOS 3.4+ 3.5.7+
Python 3.8+ 3.11+

?? ? v2.3.0 ??

???????? v2.3.0:

``bash

?????

rm -rf ~/homebrew/plugins/trainer-manager

?????(???????)

``


?? ??????

v2.3.1 (2026-09-11)

  • ?? ?? Decky 3.2+ ??? (api_version)
  • ?? ?? Decky 3.2 ?????
  • ?? ???????????

v2.3.0 (2026-09-11)

  • ? ?????????
  • ? ?? FLiNG ????
  • ? ???????

????!??????? Issue! ??