aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into release苏向夜2026-02-251-4/+4
|\
* | chore(release): bump versionsgithub-actions[bot]2026-02-255-12/+12
| |
| * fix(aur): fix release file paths苏向夜2026-02-252-5/+5
|/
* revert: aur release failed caused by product name change (#106)苏向夜2026-02-255-12/+12
|\ | | | | Reverts HydroRoll-Team/DropOut#105
| * Revert "chore(release): bump versions"苏向夜2026-02-255-12/+12
|/
* chore(release): bump versions (#105)苏向夜2026-02-255-12/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Releases ## dropout ## v0.2.0-alpha.3 ### Chores - [`7edccaf`](https://github.com/HydroRoll-Team/DropOut/commit/7edccaf1be357c0a2619a87bc1767bc6c8a95954): Release Dropout to AUR. ### New Features - [`26f299f`](https://github.com/HydroRoll-Team/DropOut/commit/26f299f1e2da116a8702a87e887e17ba3f822d64): Improve tauri app name from `dropout` to `Dropout Launcher`.
| * chore(release): bump versionsgithub-actions[bot]2026-02-255-12/+12
|/
* revert: revert release manually苏向夜2026-02-254-8/+7
|
* fix(aur): fix aur version rule苏向夜2026-02-251-5/+9
|
* feat(tauri): update tauri product name苏向夜2026-02-252-1/+6
|
* revert: revert due to pkgbuild error苏向夜2026-02-251-2/+0
| | | | This reverts commit de978ed58fc15d6af70f340cf0c3c27df8808f28.
* fix(smif): fix aur script path苏向夜2026-02-251-1/+1
|
* fix(ci): setup makepkg before release aur苏向夜2026-02-251-0/+2
|
* revert: revert due to ci failure苏向夜2026-02-251-1/+1
| | | | This reverts commit f6fd0bd512497352547d5b6a7837442d45ff06eb.
* chore(release): bump versions (#104)苏向夜2026-02-254-7/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | # Releases ## dropout ## v0.2.0-alpha.3 ### Chores - [`7edccaf`](https://github.com/HydroRoll-Team/DropOut/commit/7edccaf1be357c0a2619a87bc1767bc6c8a95954): Release Dropout to AUR.
| * chore(release): bump versionsgithub-actions[bot]2026-02-244-7/+8
|/
* fix(ci): fix aur release script path苏向夜2026-02-251-1/+1
|
* revert: revert due to aur release (#103)苏向夜2026-02-254-8/+7
|\ | | | | Reverts HydroRoll-Team/DropOut#102
| * Revert "chore(release): bump versions"苏向夜2026-02-254-8/+7
|/
* chore(release): bump versions (#102)苏向夜2026-02-254-7/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | # Releases ## dropout ## v0.2.0-alpha.3 ### Chores - [`7edccaf`](https://github.com/HydroRoll-Team/DropOut/commit/7edccaf1be357c0a2619a87bc1767bc6c8a95954): Release Dropout to AUR.
| * chore(release): bump versionsgithub-actions[bot]2026-02-244-7/+8
|/
* chore: use semifold to release aur苏向夜2026-02-253-5/+5
|
* chore: fix aur script and apply lintsdropout-v0.2.0-alpha.2dropout-macros-v0.1.0-alpha.0@dropout/ui-v0.0.0-alpha.0苏向夜2026-02-255-115/+12
|
* chore: apply prek auto-fixes [skip ci]fu0504092026-02-241-1/+1
|
* chore(release): bump versions (#101)苏向夜2026-02-2510-21/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Releases ## dropout ## v0.2.0-alpha.2 ### New Features - [`ef56081`](https://github.com/HydroRoll-Team/DropOut/commit/ef560813c68c113325d8d84ff13cd419eb6583df): Add `ts-rs` for generating TypeScript bindings. ([#77](https://github.com/HydroRoll-Team/DropOut/pull/77) by @HsiangNianian) ## @dropout/ui ## v0.0.0-alpha.0 ### Refactors - [`66668d8`](https://github.com/HydroRoll-Team/DropOut/commit/66668d85d603c5841d755a6023aa1925559fc6d4): Partial rewrite UI to react port. ([#77](https://github.com/HydroRoll-Team/DropOut/pull/77) by @HsiangNianian) ## dropout-macros ## v0.1.0-alpha.0 ### New Features - [`410c949`](https://github.com/HydroRoll-Team/DropOut/commit/410c949b87424b4ac0df5e3f38930781c6eda147): Add `dropout-macros` crate to generate tauri api wrappers automatically. ([#77](https://github.com/HydroRoll-Team/DropOut/pull/77) by @HsiangNianian)
| * chore(release): bump versionsgithub-actions[bot]2026-02-2410-21/+26
|/
* feat: merge remote code苏向夜2026-02-252-2259/+1583
|
* feat(ui): partial react rewrite (#77)苏向夜2026-02-25150-12018/+17192
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Summary by Sourcery Export backend data structures to TypeScript for the new React-based UI and update CI to build additional targets. New Features: - Generate TypeScript definitions for core backend structs and enums used by the UI. - Now use our own Azure app(_DropOut_) to finish the authorize process. Enhancements: - Annotate existing Rust models with ts-rs metadata to control exported TypeScript shapes, including tagged enums and opaque JSON fields. Build: - Add ts-rs as a dependency for generating TypeScript bindings from Rust types. CI: - Extend the Semifold CI workflow to run on the dev branch and build additional Linux musl and Windows GNU targets using cross where needed.
| * Merge branch 'main' into refactor/migrate-to-react苏向夜2026-02-254-4/+164
| |\ | |/ |/|
* | chore(ci): release to aur苏向夜2026-02-254-4/+164
| |
| * chore(workspace): replace legacy codes苏向夜2026-02-25125-10078/+224
| |
| * feat: prepare for nightly alpha苏向夜2026-02-2517-483/+259
| |
| * refactor: rewrite login and settings pages苏向夜2026-02-2424-682/+1845
| |
| * feat(macros): sort client api苏向夜2026-02-243-199/+198
| |
| * Merge branch 'main' into refactor/migrate-to-react苏向夜2026-02-243-15/+8
| |\ | |/ |/|
* | ci(build): remove windows gnu苏向夜2026-02-231-15/+2
| |
* | ci(curseforge): add curseforge api key苏向夜2026-02-233-0/+6
| |
| * Clean up Cargo.toml by removing unused sections简律纯2026-02-231-7/+0
| | | | | | Removed Debian package metadata and dependencies.
| * Merge branch 'main' into refactor/migrate-to-react简律纯2026-02-2311-15/+553
| |\ | |/ |/|
| * refactor(shadcn): use base lyra instead苏向夜2026-02-2222-412/+2874
| |
* | Add modpack parsing and extraction for Modrinth, CurseForge, MultiMC (#100)SuperCCC2026-02-222-0/+490
| |
| * refactor(client): rewrite macros to generate client苏向夜2026-02-1850-3157/+2470
| |
* | chore: apply prek auto-fixes [skip ci]HsiangNianian2026-02-151-1/+1
| |
* | Fix Windows MinGW linker error with COFF resource compilation (#96)Copilot2026-02-153-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Description MinGW linker fails on `resource.lib` because `tauri-build` generates MSVC-format resources. MinGW requires COFF format. This PR adds conditional resource compilation using `embed-resource` for GNU targets. ## Type of Change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update - [ ] UI/UX improvement - [ ] Performance improvement - [ ] Code refactoring (no functional changes) - [ ] Configuration change - [ ] Test addition or update ## LLM-Generated Code Disclosure - [x] This PR contains LLM-generated code, and I **provide** quality assurance - [ ] This PR contains LLM-generated code, and I **do not provide** quality assurance - [ ] This PR does not contain LLM-generated code ## Related Issues Fixes the Windows x86_64-pc-windows-gnu build failure in CI (Job ID: 63620685213) ## Changes Made ### Backend (Rust) - N/A ### Frontend (Svelte) - N/A ### Configuration - **src-tauri/Cargo.toml**: Added `embed-resource = "2.4"` as target-specific build dependency for `cfg(all(windows, target_env = "gnu"))` - **src-tauri/build.rs**: Added conditional resource compilation - calls `embed_resource::compile()` for MinGW, preserves `tauri_build::build()` for all targets - **src-tauri/icon.rc**: Created Windows resource file referencing `icons/icon.ico` **Key implementation**: ```rust fn main() { #[cfg(all(windows, target_env = "gnu"))] { embed_resource::compile("icon.rc", embed_resource::NONE); } tauri_build::build() } ``` **Impact**: MSVC builds unchanged, Linux/macOS unaffected (dependency not loaded), MinGW builds now generate COFF-compatible resources. ## Testing ### Test Environment - **OS**: Ubuntu 22.04 (Linux validation) - **DropOut Version**: 0.2.0-alpha.1 - **Minecraft Version Tested**: N/A (build-only fix) - **Mod Loader**: N/A ### Test Cases - [ ] Tested on Windows - [ ] Tested on macOS - [x] Tested on Linux - [ ] Tested with vanilla Minecraft - [ ] Tested with Fabric - [ ] Tested with Forge - [ ] Tested game launch - [ ] Tested authentication flow - [ ] Tested Java detection/download ### Steps to Test 1. Run `cargo check` on Linux (verified - passes) 2. CI validation pending: `semifold-ci.yaml` "Windows x86_64 (GNU)" job should complete without linker errors 3. Manual Windows MinGW build verification recommended ## Checklist ### Code Quality - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings or errors ### Testing Verification - [x] I have tested my changes locally - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] I have tested on at least one target platform ### Documentation - [x] I have updated the documentation accordingly - [ ] I have updated the README if needed - [x] I have added/updated code comments where necessary ### Dependencies - [x] I have checked that no unnecessary dependencies were added - [x] All new dependencies are properly documented - [x] `Cargo.lock` and/or `pnpm-lock.yaml` are updated (if dependencies changed) ## Screenshots / Videos N/A - build configuration change only ## Additional Notes - Target-specific dependency prevents unnecessary bloat on non-Windows platforms - `embed-resource` generates COFF format compatible with `x86_64-w64-mingw32-gcc` - No runtime code changes - purely build-time fix ## Breaking Changes None. Fully backward compatible. --- **For Maintainers:** - [ ] Code review completed - [ ] CI checks passing - [ ] Ready to merge <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > ## Problem > > The Windows x86_64-pc-windows-gnu build is failing in the CI/CD pipeline with a linker error: > > ``` > error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1 > note: D:\a\DropOut\DropOut\target\x86_64-pc-windows-gnu\release\build\dropout-d2b2a5095bbadd51\out\resource.lib: file not recognized: file format not recognized > ``` > > This occurs because `tauri-build` generates `resource.lib` in a format incompatible with the MinGW (GNU) toolchain. The file is likely being created in MSVC format instead of the COFF format required by MinGW. > > **Failing Job:** https://github.com/HydroRoll-Team/DropOut/actions (Job ID: 63620685213) > **Commit:** e6eb1bd0111d40b3b1fd39fafd583ce5dbf30f03 > **Target:** x86_64-pc-windows-gnu > > ## Solution > > Update the `build.rs` file to conditionally use `embed-resource` crate when building for the GNU toolchain, which properly generates MinGW-compatible resource files. > > ### Changes Required > > 1. **Update `src-tauri/Cargo.toml`**: Add `embed-resource` as a build dependency for Windows GNU targets > 2. **Update `src-tauri/build.rs`**: Implement conditional resource compilation: > - Use `embed-resource` for `x86_64-pc-windows-gnu` target > - Continue using default `tauri-build` for MSVC targets > > ### Implementation Details > > **src-tauri/Cargo.toml** - Add to `[build-dependencies]`: > ```toml > [build-dependencies] > tauri-build = { version = "2.0", features = [] } > embed-resource = "2.4" > ``` > > **src-tauri/build.rs** - Replace current content: > ```rust > fn main() { > // For MinGW targets, use embed-resource to generate proper COFF format > #[cfg(all(windows, target_env = "gnu"))] > { > embed_resource::compile("icon.rc", embed_resource::NONE); > } > > tauri_build::build() > } > ``` > > If `icon.rc` doesn't exist, create **src-tauri/icon.rc**: > ```rc > 1 ICON "icons/icon.ico" > ``` > > ### Testing > > After this fix: > - Windows MSVC builds should continue working as before > - Windows GNU (MinGW) builds should successfully link without the "file format not recognized" error > - The generated resource.lib will be in COFF format compatible with `x86_64-w64-mingw32-gcc` > > ### References > > - Tauri issue tracker (similar issues): https://github.com/tauri-apps/tauri/issues > - embed-resource crate: https://crates.io/crates/embed-resource > - MinGW resource compilation: https://sourceforge.net/p/mingw-w64/wiki2/windres/ > </details> <!-- START COPILOT CODING AGENT SUFFIX --> *This pull request was created from Copilot chat.* > <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/HydroRoll-Team/DropOut/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * merge: dev苏向夜2026-02-154-110/+115
| |
| * refactor(macros): use darling to parse macro metas苏向夜2026-02-153-26/+26
| |
* | chore(ci): Disable Musl platform in CI workflow简律纯2026-02-141-6/+6
| | | | | | Comment out the Musl platform configuration for CI.
* | Merge branch 'dev' into main简律纯2026-02-101-6/+8
|\ \
| * | fix(ci): configure musl cross-compilation for GTK dependencies (#92)Copilot2026-02-101-6/+8
| | | | | | | | | | | | | | | Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
* | | Merge branch 'dev' into main简律纯2026-02-101-9/+18
|\| |