docs: refresh contribution guide and correct README details
This commit is contained in:
1 parent
c2e039e412
commit
526db91665
2 files changed
+90
-45
No files matched your search
@@ -43,7 +43,7 @@ it does everything you'd expect from a launcher.
|
||||
|
||||
### modpacks and accounts
|
||||
|
||||
Browse Modrinth and CurseForge modpacks or import Modrinth, CurseForge, MultiMC, Prism, and GTNH packs directly. Direct imports accept a file, Modrinth URL, or project slug. CurseForge requires a build-time [API key](#curseforge-api). Able to use multiple Microsoft accounts and offline accounts aswell.
|
||||
Browse Modrinth and CurseForge modpacks or import Modrinth, CurseForge, and MultiMC/Prism archives (including GTNH packs in that format). Direct imports accept a local archive, Modrinth URL, or Modrinth project slug. CurseForge requires a build-time [API key](#curseforge-api). Multiple Microsoft accounts and offline accounts are supported.
|
||||
|
||||
---
|
||||
|
||||
@@ -55,11 +55,7 @@ Authentication is performed through Microsoft’s official services.
|
||||
|
||||
## CurseForge API
|
||||
|
||||
Git, source, and Cargo builds use `DEFAULT_API_KEY` in `src/net/curseforge.rs`
|
||||
unless `CURSEFORGE_API_KEY` is set at compile time. The source default is currently
|
||||
empty, so a nonempty key must be supplied to enable CurseForge. An explicitly
|
||||
empty or whitespace-only override disables CurseForge, even when a default is set.
|
||||
|
||||
Git, source, and Cargo builds use rmcl's dedicated API key unless `CURSEFORGE_API_KEY` is set at compile time. An empty or whitespace-only override disables CurseForge.
|
||||
Use of the API is subject to the [CurseForge 3rd Party API Terms and Conditions](https://support.curseforge.com/en/support/solutions/articles/9000207405-curse-forge-3rd-party-api-terms-and-conditions).
|
||||
Keys supplied for rmcl are for rmcl builds only. Forks, rebranded applications,
|
||||
and unrelated projects must use their own key. Keys included in source or compiled
|
||||
@@ -147,14 +143,19 @@ settings, accounts, instances, and cached game metadata.
|
||||
| instances | `~/.local/share/rmcl/instances/` | `~/Library/Application Support/rmcl/instances/` | `%APPDATA%\rmcl\instances\` |
|
||||
| metadata (versions, libraries, assets, loader profiles) | `~/.local/share/rmcl/meta/` | `~/Library/Application Support/rmcl/meta/` | `%APPDATA%\rmcl\meta\` |
|
||||
|
||||
These are default locations. On Linux, `XDG_CONFIG_HOME`, `XDG_DATA_HOME`, and
|
||||
`XDG_CACHE_HOME` override the corresponding base directories. Instance and metadata
|
||||
paths can also be changed in `config.toml`.
|
||||
|
||||
each instance has an `instance.json` for its config and a `minecraft/` directory with the actual game files.
|
||||
|
||||
Launcher settings can be edited from the TUI or in `config.toml`. Changes to
|
||||
`instances_dir`, `meta_dir`, and `image_protocol` apply after restarting rmcl;
|
||||
other launcher settings apply immediately. Omitting `java_path` enables automatic
|
||||
Java selection. Global JVM arguments and environment variables are applied before
|
||||
per-instance values. Instances can explicitly inherit the launcher window mode
|
||||
and resolution defaults.
|
||||
Launcher settings saved through the TUI apply immediately, except changes to
|
||||
`instances_dir`, `meta_dir`, and `image_protocol`, which require a restart.
|
||||
Settings files opened through rmcl's editor shortcut are reloaded after saves;
|
||||
otherwise, restart rmcl after editing `config.toml` externally. When neither global nor instance
|
||||
`java_path` is set, rmcl selects Java automatically. Global JVM arguments and
|
||||
environment variables are applied before per-instance values. Instances can
|
||||
explicitly inherit the launcher window mode and resolution defaults.
|
||||
|
||||
```toml
|
||||
[general]
|
||||
@@ -256,7 +257,7 @@ then set `theme = "my-theme"` in `theme.toml`.
|
||||
|
||||
colors accept `"#f97316"`, ANSI names (`"Red"`, `"LightBlue"`), `{ Rgb = [r, g, b] }` or `{ Indexed = n }`.
|
||||
|
||||
note that `[custom]` in `theme.toml` is only for overriding single values of a builtin, it doesn't define a new theme. same for `border_style`, that one lives in `theme.toml`, not in a theme file.
|
||||
note that `[custom]` in `theme.toml` overrides colors of the selected theme, whether built-in or loaded from a file; it doesn't define a standalone theme. `border_style` belongs at the top level of `theme.toml`, not in a custom theme file.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user