a second instance on one machine: its own data, its own peer port, and a join that says itself again when it was never seated
This commit is contained in:
1 parent
67e52697b2
commit
6f7452c803
17 files changed
+125
-56
No files matched your search
@@ -141,7 +141,7 @@ pub fn init(app: &tauri::AppHandle) -> Result<(), String> {
|
||||
// AppData keeps only what is about the APP on THIS machine — the cache of
|
||||
// remote provider responses. Everything describing the LIBRARY lives in
|
||||
// the library folder so it travels with the music.
|
||||
let app_dir = app.path().app_data_dir().map_err(|e| e.to_string())?;
|
||||
let app_dir = crate::paths::app_data(app).map_err(|e| e.to_string())?;
|
||||
std::fs::create_dir_all(&app_dir).map_err(|e| e.to_string())?;
|
||||
|
||||
let cfg = crate::config::load(app);
|
||||
|
||||
Reference in new issue
Block a user