mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
This commit implements SocketMessage::Query and responds correctly to all of the various StateQuery options when komorebic query is called.
13 lines
449 B
Rust
13 lines
449 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.mac.json"
|
|
).unwrap().text().unwrap();
|
|
std::fs::write("applications.json", applications_json).unwrap();
|
|
}
|
|
|
|
ShadowBuilder::builder().build().unwrap();
|
|
}
|