diff --git a/src/main.rs b/src/main.rs index 0657afee..70a4542d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,7 +33,10 @@ fn main() { let resource = { match gio::Resource::load(format!("data/{}.gresource", NAMESPACE)) { Ok(resource) => resource, - Err(_) => gio::Resource::load(format!("data/{}.gresource", NAMESPACE)).unwrap(), + Err(_) => { + gio::Resource::load(format!("/usr/share/{}/{}.gresource", NAMESPACE, NAMESPACE)) + .unwrap() + } } };