mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-23 01:49:21 +01:00
13 lines
437 B
Rust
13 lines
437 B
Rust
use shadow_rs::ShadowBuilder;
|
|
|
|
fn main() {
|
|
if std::fs::metadata("applications.json").is_err() {
|
|
let applications_json = reqwest::blocking::get(
|
|
"https://raw.githubusercontent.com/LGUG2Z/komorebi-application-specific-configuration/master/applications.json"
|
|
).unwrap().text().unwrap();
|
|
std::fs::write("applications.json", applications_json).unwrap();
|
|
}
|
|
|
|
ShadowBuilder::builder().build().unwrap();
|
|
}
|