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
@@ -65,7 +65,7 @@ fn now_secs() -> u64 {
|
||||
SystemTime::now().duration_since(UNIX_EPOCH).map(|d| d.as_secs()).unwrap_or(0)
|
||||
}
|
||||
fn path(app: &tauri::AppHandle) -> Result<PathBuf, String> {
|
||||
Ok(app.path().app_data_dir().map_err(|e| e.to_string())?.join("overlap.json"))
|
||||
Ok(crate::paths::app_data(app).map_err(|e| e.to_string())?.join("overlap.json"))
|
||||
}
|
||||
fn load(app: &tauri::AppHandle) -> Ledger {
|
||||
path(app)
|
||||
|
||||
Reference in new issue
Block a user