Move resource files into their own dir
This commit is contained in:
parent
4238079409
commit
f9112ea627
5 changed files with 2 additions and 2 deletions
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
@ -25,5 +25,5 @@ package() {
|
||||||
install -Dm755 ${_pkgbase}/target/release/libvk_layer_rs.so "${pkgdir}"/usr/lib/libvk_layer_rs.so
|
install -Dm755 ${_pkgbase}/target/release/libvk_layer_rs.so "${pkgdir}"/usr/lib/libvk_layer_rs.so
|
||||||
|
|
||||||
# copy layer discovery info file
|
# copy layer discovery info file
|
||||||
install -Dm644 ${_pkgbase}/rFactorOverlay.json "${pkgdir}"/usr/share/vulkan/implicit_layer.d/rFactorOverlay.json
|
install -Dm644 ${_pkgbase}/resources/rFactorOverlay.json "${pkgdir}"/usr/share/vulkan/implicit_layer.d/rFactorOverlay.json
|
||||||
}
|
}
|
|
@ -144,7 +144,7 @@ impl Overlay {
|
||||||
// only font is used
|
// only font is used
|
||||||
let mut create_info = GuiHandlerCreateInfo::default();
|
let mut create_info = GuiHandlerCreateInfo::default();
|
||||||
|
|
||||||
create_info.font = Font::Bytes(include_bytes!("../../font.png"));
|
create_info.font = Font::Bytes(include_bytes!("../../resources/font.png"));
|
||||||
|
|
||||||
// required to not crash
|
// required to not crash
|
||||||
create_info.resource_directory = AssetPath::from("");
|
create_info.resource_directory = AssetPath::from("");
|
||||||
|
|
Loading…
Reference in a new issue