onelauncher but cracked
commit 9d138882dec56d9f823a22dd2284b0f264a6b35a
Author: Wyvest <wyvestbusiness@gmail.com>
Date: Mon Feb 23 17:14:58 2026 -0500
Watch cluster dirs, toggle & custom-bundle support
Enable filesystem watches and add support for directory-based packages, toggleable packages, and custom bundles.
Highlights:
- Enable tauri-plugin-fs "watch" feature and add fs:allow-watch capability.
- Frontend: add useAllClusterDirWatch hook to watch cluster folders and call bindings.core.syncCluster on changes; add useCustomBundle to synthesize a "[Custom]" bundle for installed-but-unbundled packages and surface it in mods/datapacks/resource-packs/shaders routes via ModList/ModCard changes.
- ModCard/ModList: introduce toggle mode (useToggleMode) to treat some bundles as toggleable; implement UI toggle behavior and skip interactivity for directory-based bundles.
- Bindings: expose syncCluster and togglePackage in bindings.gen for IPC usage.
- Backend: extend sync_cluster to detect directories, register directory-based packages as local, and reconcile/unlink DB links for files removed from disk; support removing directories when unlinking packages.
- Backend API: add toggle_package to rename package files (.disabled toggling), update central store path, and return the new enabled state; add Tauri commands for sync_cluster and toggle_package.
Reason: allow resourcepacks/shaders/datapacks stored as directories to be recognized as local packages, provide automatic sync on filesystem changes, and let users enable/disable packages by toggling their filenames.
commit 1b100f7ed2242d21f3fbb6229745cddbd3199db7
Merge: 4ea4216
|
||
|---|---|---|
| .cargo | ||
| .gemini | ||
| .github | ||
| .husky | ||
| .vscode | ||
| apps | ||
| docs/OneClient | ||
| packages | ||
| .clippy.toml | ||
| .editorconfig | ||
| .env.template | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .nvmrc | ||
| .prettierignore | ||
| .rustfmt.toml | ||
| ATTRIBUTION.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| eslint.config.js | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| lint-staged.config.mjs | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| rust-toolchain.toml | ||
| shared.config.ts | ||
| tsconfig.base.json | ||
| tsconfig.json | ||
OneLauncher | OneClient
The monorepo containing the code for OneLauncher, OneClient, and their core backend.
Technologies Used
Contributing
We welcome contributions! Please read our contributing guidelines before getting started.
Requirements
If you encounter any issues, ensure that you are using the following versions (or later) of Rust, Node and Pnpm:
rustcversion: nightly-2025-07-23nodeversion: 22.15pnpmversion: 10.13
Project Structure
packages/- Shared libraries and utilities.core/- Launcher Core. This is the library that contains the entire launcher logic.entity/- Contains entity definitions used in the launcher's database.macro/- Contains macro definitions to simplify some code.scripts/- General scripts for CI/CD or development environments.web_common/- Contains common web code used by both OneLauncher and OneClient.
apps/onelauncher/desktop/- Tauri desktop application.frontend/- React SPA frontend.distribution/- Files used for release builds.
oneclient/desktop/- Tauri desktop application.frontend/- React SPA frontend.distribution/- Files used for release builds.