Launcher: instances, each with its own game folder
The game's folder stays the default instance, "Horizon", where it is; imported and registry modpacks are listed as instances in their own folders; new ones go to instances/<slug>/ in the game's folder, empty (the player's options and offline name) or a copy of another (never sessions, logs or telemetry). Names, icons and groups live in the launcher's instances.json, so nothing moves. Play, `play --instance` and MCP play start the selected instance, which follows the launcher's data collection answer and No AI. Crash reports are read from the run's own folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -37,7 +37,7 @@ pub fn list() -> Vec<Installed> {
|
||||
list_in(&packs_dir())
|
||||
}
|
||||
|
||||
fn list_in(dir: &Path) -> Vec<Installed> {
|
||||
pub(crate) fn list_in(dir: &Path) -> Vec<Installed> {
|
||||
let mut packs: Vec<Installed> = fs::read_dir(dir)
|
||||
.into_iter()
|
||||
.flatten()
|
||||
|
||||
Reference in New Issue
Block a user