This commit is contained in:
Ward from fusion-voyager-3 2024-06-17 09:02:13 +03:00
parent 869ba71ebb
commit bde1a5c792

View File

@ -114,8 +114,10 @@ fn create_kernel_badge(label0_text: &str, label1_text: &str, css_style: &str, gr
fn get_kernel_branches() -> Vec<KernelBranch> { fn get_kernel_branches() -> Vec<KernelBranch> {
let test_branch = KernelBranch { let test_branch = KernelBranch {
name: "kernel-cachy".to_string(), name: "kernel-cachy".to_string(),
db: "".to_string() db: "https://raw.githubusercontent.com/CosmicFusion/fedora-kernel-manager/main/data/db-kernel-cachy.json".to_string()
}; };
vec![test_branch]
} }
fn get_running_kernel_info() -> RunningKernelInfo { fn get_running_kernel_info() -> RunningKernelInfo {
let kernel = match Command::new("uname").arg("-r").stdout(Stdio::piped()).output() { let kernel = match Command::new("uname").arg("-r").stdout(Stdio::piped()).output() {