server: multiple frontends + auto download from github when needed

This commit is contained in:
nym21
2025-03-05 12:22:11 +01:00
parent 0d0edd7917
commit b27297cdc6
29 changed files with 892 additions and 99 deletions

View File

@@ -1,5 +1,7 @@
mod paths;
mod pause;
mod rlimit;
pub use paths::*;
pub use pause::*;
pub use rlimit::*;

View File

@@ -0,0 +1,10 @@
use std::path::{Path, PathBuf};
pub fn path_dot_brk() -> PathBuf {
let home = std::env::var("HOME").unwrap();
Path::new(&home).join(".brk")
}
pub fn path_dot_brk_log() -> PathBuf {
path_dot_brk().join("log")
}