Skip to content

Commit b7d1734

Browse files
committed
change vkbasalt flatpak path
1 parent bb7db6b commit b7d1734

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

overlayunit.pas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,10 +1450,10 @@ function CheckDependencies(out Missing: TStringList): Boolean;
14501450
//check if vkbasalt is available
14511451
if IsRunningInFlatpak then
14521452
begin
1453-
// Flatpak: check for vkbasalt in /app/lib (standard Flatpak installation path)
1454-
if not FileExists('/app/lib/libvkbasalt.so') and
1455-
not FileExists('/app/lib/x86_64-linux-gnu/libvkbasalt.so') then
1456-
Missing.Add('vkbasalt');
1453+
// Flatpak: check for vkbasalt
1454+
if not FileExists('/usr/lib/extensions/vulkan/vkBasalt/lib/$(uname -m)-linux-gnu/vkbasalt/libvkbasalt.so')
1455+
then
1456+
Missing.Add('vkbasalt');
14571457
end
14581458
else
14591459
begin

0 commit comments

Comments
 (0)