mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-21 08:59:11 +01:00
9 lines
358 B
Rust
9 lines
358 B
Rust
fn main() {
|
|
if std::fs::metadata("applications.yaml").is_err() {
|
|
let applications_yaml = reqwest::blocking::get(
|
|
"https://raw.githubusercontent.com/LGUG2Z/komorebi-application-specific-configuration/master/applications.yaml"
|
|
).unwrap().text().unwrap();
|
|
std::fs::write("applications.yaml", applications_yaml).unwrap();
|
|
}
|
|
}
|