1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-19 11:52:16 +01:00
rpi-vk-driver/install.sh
2020-06-18 17:51:18 +01:00

20 lines
369 B
Bash
Executable File

#!/bin/bash
mkdir -p $HOME/.rpi-vk-driver/
mkdir -p $HOME/.local/share/vulkan/icd.d/
DRIVER=librpi-vk-driver.so
JSON=rpi-vk-driver.json
if [ -f "$DRIVER" ]; then
cp $DRIVER $HOME/.rpi-vk-driver/
else
cp build/$DRIVER $HOME/.rpi-vk-driver/
fi
if [ -f "$JSON" ]; then
cp $JSON $HOME/.local/share/vulkan/icd.d/
else
cp ../$JSON $HOME/.local/share/vulkan/icd.d/
fi