diff options
| author | 2026-01-16 18:38:47 +0800 | |
|---|---|---|
| committer | 2026-01-16 18:42:12 +0800 | |
| commit | 1119f6c3cf421da2f2db92873efae8135c76b678 (patch) | |
| tree | 57ee487c5003807e984c084a31a37c34e30820cf /ui/src/types | |
| parent | 52cf610264444bde95c1feae58414bb9849855eb (diff) | |
| download | DropOut-1119f6c3cf421da2f2db92873efae8135c76b678.tar.gz DropOut-1119f6c3cf421da2f2db92873efae8135c76b678.zip | |
feat: enhance Java version management for Minecraft versions
Added functionality to determine and validate the required Java version for Minecraft versions, including checks for compatibility with older versions. Implemented event emissions for version installation and deletion, and updated the UI to reflect Java version requirements and installation status. Improved version metadata handling and added support for deleting versions.
Diffstat (limited to 'ui/src/types')
| -rw-r--r-- | ui/src/types/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts index 6471869..9a4da2b 100644 --- a/ui/src/types/index.ts +++ b/ui/src/types/index.ts @@ -6,6 +6,8 @@ export interface Version { url: string; time: string; releaseTime: string; + javaVersion?: number; // Java major version requirement (e.g., 8, 17, 21) + isInstalled?: boolean; // Whether this version is installed locally } export interface Account { |