aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/utils
Commit message (Collapse)AuthorAgeFilesLines
* feat(java): integrate Adoptium API for Java runtime downloadBegonia, HE2026-01-141-0/+75
| | | | | | | | | | | | | | | | Add automatic Java (Temurin) download and installation feature: - Add Adoptium API v3 integration to fetch latest Java releases - Support JRE and JDK image types with version selection (8/11/17/21) - Implement platform detection for macOS, Linux, and Windows - Add SHA256 checksum verification for downloaded archives - Add tar.gz extraction support with Unix permission preservation - Handle macOS-specific Java path structure (Contents/Home/bin) - Add frontend UI with version selector and download progress - Register Tauri commands: fetch_adoptium_java, download_adoptium_java, fetch_available_java_versions Dependencies added: sha2, flate2, tar, dirs
* chore: translate commentsHsiangNianian2026-01-131-3/+2
|
* chore(style): format codeHsiangNianian2026-01-132-8/+14
|
* Implement library rules validation and zip extraction utilityHsiangNianian2026-01-132-2/+35
| | | | | | - Added `is_library_allowed` function to evaluate library permissions based on defined rules. - Introduced `rule_matches` helper function to check OS compatibility for rules. - Created `extract_zip` function to handle zip file extraction, including directory creation and skipping of META-INF entries.
* feat: add Minecraft DropOut launcher with version fetching and basic UIHsiangNianian2026-01-131-0/+34
- Implemented version manifest fetching from Mojang API. - Created launcher configuration and main launcher logic. - Added SVG and PNG icons for the application. - Developed a simple HTML/CSS interface for the launcher. - Integrated Tauri commands for backend communication. - Added utility functions for file operations and config parsing.