summaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat: integrate AI assistant functionality and configuration managementHsiangNianian2026-01-161-27/+141
| | | | Implemented new commands for managing the AI assistant, including health checks, chat interactions, and model listings for both Ollama and OpenAI. Enhanced the configuration system to support raw JSON editing and added a dedicated AssistantConfig structure for better management of assistant settings. This update significantly improves the user experience by providing comprehensive control over AI interactions and configurations.
* fix(security): Potential fix for code scanning alert no. 3: Cleartext ↵简律纯2026-01-161-5/+1
| | | | | logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* feat: Enhance Forge installation process by fetching installer manifest and ↵HsiangNianian2026-01-151-3/+41
| | | | improving library management for better compatibility
* feat: Implement local version fetching and enhance version type detection to ↵HsiangNianian2026-01-151-34/+60
| | | | support modpacks in version management
* feat: Add functionality to list installed game versions in the application, ↵HsiangNianian2026-01-151-0/+89
| | | | enhancing version management and user experience in BottomBar
* feat: Add version installation and check functionality to enhance mod loader ↵HsiangNianian2026-01-151-0/+290
| | | | support in the application
* feat: Implement upload_to_pastebin command for log file uploads with content ↵HsiangNianian2026-01-151-1/+79
| | | | length validation and support for Pastebin and paste.rs services
* fix: Clean up main.rs by removing unused imports and updating variable names ↵HsiangNianian2026-01-151-2/+2
| | | | for clarity; enhance HomeView.svelte by correcting emoji processing logic
* feat: Implement get_github_releases command to fetch and serialize GitHub ↵HsiangNianian2026-01-151-1/+48
| | | | release data
* feat(java): Implement Java catalog management and download featuresBegonia, HE2026-01-151-0/+52
| | | | | | | | - Added commands to fetch and refresh the Java catalog, cancel downloads, and manage pending downloads. - Enhanced the Java download modal in the UI to support version selection, download progress, and pending downloads. - Introduced new types for Java catalog, download progress, and pending downloads. - Updated settings store to handle Java catalog state, download progress, and pending downloads. - Improved user experience with loading states, error handling, and status notifications for Java installations.
* fix: change Java installation path to use Tauri app handle for directory accessBegonia, HE2026-01-151-3/+4
|
* fix: update JVM argument handling to set sha256 to NoneBegonia, HE2026-01-151-1/+2
|
* Apply suggestion from @Copilot简律纯2026-01-151-1/+1
| | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: add missing sha256 field to DownloadTask for Maven librariesBegonia, HE2026-01-141-0/+1
|
* Merge main into feat/download-java-rtBegonia, HE2026-01-141-101/+359
|\ | | | | | | | | | | | | - Integrate latest main branch changes (Fabric, Forge support, new UI) - Keep Adoptium Java download feature with SHA256 support - Merge improved download progress tracking with checksum verification - Update dependencies and build configuration
| * feat: enhance dark mode support across UI componentsHsiangNianian2026-01-141-4/+0
| | | | | | | | | | | | | | | | - Updated BottomBar, HomeView, LoginModal, ModLoaderSelector, SettingsView, Sidebar, StatusToast, and VersionsView components for improved dark mode styling. - Adjusted color schemes for various elements to ensure better visibility and aesthetics in dark mode. - Added a theme property to settings to enforce dark mode as the default. - Refactored version badges in VersionsView for better color differentiation. - Enhanced button and input styles for consistency in both light and dark themes.
| * feat: Enhance UI components and add visual effectsHsiangNianian2026-01-141-0/+1
| | | | | | | | | | | | | | | | | | - Updated Sidebar component styles for improved aesthetics and usability. - Refactored VersionsView component with a new layout and enhanced version filtering. - Improved DownloadMonitor and GameConsole components for better performance and visual consistency. - Added new settings for GPU acceleration and visual effects in settings store. - Introduced ParticleBackground component with customizable effects (Constellation and Saturn). - Implemented ConstellationEffect and SaturnEffect classes for dynamic background animations.
| * refactor: clean up formatting and improve readability in core modulesHsiangNianian2026-01-141-19/+16
| |
| * feat: enhance start_game function to support modded versions and add Fabric ↵HsiangNianian2026-01-141-38/+208
| | | | | | | | and Forge commands
| * Add documentation to clarify placeholder detection logiccopilot-swe-agent[bot]2026-01-141-5/+12
| | | | | | | | Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * Improve placeholder check to verify both opening and closing delimiterscopilot-swe-agent[bot]2026-01-141-2/+16
| | | | | | | | Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * fix: skip unresolved placeholders in game start argumentsHsiangNianian2026-01-141-2/+8
| |
| * refactor: simplify default implementations for AccountStore and ↵HsiangNianian2026-01-141-0/+6
| | | | | | | | MsRefreshTokenState
| * refactor: improve code readability by formatting and restructuring function ↵HsiangNianian2026-01-141-60/+121
| | | | | | | | calls
| * Revert "feat: add functionality to retrieve installed game versions"简律纯2026-01-141-43/+0
| |
| * Merge pull request #16 from NtskwK/feat/enabled-version简律纯2026-01-141-0/+43
| |\
| * | feat: add download_threads to LauncherConfig and update download loggingHsiangNianian2026-01-141-2/+2
| | |
| | * Update src-tauri/src/main.rsNatsuu2026-01-141-3/+15
| | | | | | | | | Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
| | * refactor: simplify get_installed_versions function by using iterator methodsNatsuu2026-01-141-20/+14
| | |
| | * feat: add functionality to retrieve installed game versionsNatsuu2026-01-141-0/+37
| |/
* / feat(java): integrate Adoptium API for Java runtime downloadBegonia, HE2026-01-141-2/+43
|/ | | | | | | | | | | | | | | | 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
* feat: enhance logging in game launch process and update GameConsole to ↵HsiangNianian2026-01-141-9/+72
| | | | display launcher logs
* refactor: remove launcher and config modules to streamline codebaseHsiangNianian2026-01-141-1/+0
|
* feat: implement Microsoft account token refresh and storage management; add ↵HsiangNianian2026-01-131-9/+210
| | | | Java detection functionality
* feat: implement Microsoft account login flow and refactor account handlingHsiangNianian2026-01-131-7/+52
|
* chore(style): format codeHsiangNianian2026-01-131-150/+210
|
* feat: Add config moduleHsiangNianian2026-01-131-6/+39
|
* feat: enhance game launch process with output handling and improved command ↵HsiangNianian2026-01-131-9/+31
| | | | execution
* feat: add user properties handling and debug logging in game launch argumentsv0.1.4HsiangNianian2026-01-131-0/+3
|
* fix: clone client_path for download task to ensure correct file pathHsiangNianian2026-01-131-1/+1
|
* Implement library rules validation and zip extraction utilityHsiangNianian2026-01-131-11/+292
| | | | | | - 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: implement download functionality with progress monitoring and version ↵HsiangNianian2026-01-131-18/+46
| | | | management
* feat: add offline account management and version fetching functionalityHsiangNianian2026-01-131-1/+34
|
* feat: add Minecraft DropOut launcher with version fetching and basic UIHsiangNianian2026-01-131-0/+32
- 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.