update install module

This commit is contained in:
pivodevat
2025-08-31 16:30:55 +03:00
parent fee9e64314
commit bcb6dcca1d
2 changed files with 82 additions and 9 deletions

View File

@ -55,6 +55,11 @@ pub fn get_config_script<P: AsRef<Path>>(file_path: P) -> io::Result<String> {
extract_block(file_path, "``` sh *** config ***", "```")
}
pub fn get_patch_script<P: AsRef<Path>>(file_path: P) -> io::Result<String> {
extract_block(file_path, "``` sh *** config ***", "```")
}
pub fn get_repo_list() -> io::Result<Vec<String>> {
let file_path = crate::commands::get_var_path().join("sexpkg.md");