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:
KeelrLeek committed 2026-09-03 13:39:06 -05:00
1 parent 67e52697b2
commit 6f7452c803
17 files changed
+125 -56

No files matched your search

+1 -4
View File
@@ -26,7 +26,6 @@ use freenet_adapter::FreenetAdapter;
use image::{imageops::FilterType, ImageEncoder, ImageReader, Limits};
use persona_state as ps;
use serde::{Deserialize, Serialize};
use tauri::Manager;
use crate::state::AppState;
use crate::{config, persona};
@@ -197,9 +196,7 @@ pub struct Local {
impl Local {
pub fn for_app(app: &tauri::AppHandle) -> Result<Self, String> {
let base = app
.path()
.app_data_dir()
let base = crate::paths::app_data(app)
.map_err(|e| e.to_string())?
.join("freenet");
Ok(Self { ledger: base.join("profile-ledger.json"), avatars: base.join("avatars") })