Remove config and resources from version control

This commit is contained in:
Elias Projahn 2021-02-07 12:55:11 +01:00
parent 0ffe68e04f
commit 5c77ef95f7
3 changed files with 0 additions and 14 deletions

3
.gitignore vendored
View file

@ -3,8 +3,5 @@
/build
/builddir
/flatpak
/src/config.rs
/src/resources.rs
/target
Cargo.lock
test.sqlite

View file

@ -1,2 +0,0 @@
pub static VERSION: &str = "0.1.0";
pub static LOCALEDIR: &str = "/usr/local/share/locale";

View file

@ -1,9 +0,0 @@
use anyhow::Result;
pub fn init() -> Result<()> {
let bytes = glib::Bytes::from(include_bytes!("/home/johrpan/Entwicklung/musicus/build/musicus/res/musicus.gresource").as_ref());
let resource = gio::Resource::from_data(&bytes)?;
gio::resources_register(&resource);
Ok(())
}