From bced2de10966d4e50da5f84cbce5c842e6d41d23 Mon Sep 17 00:00:00 2001 From: wheaney <42350981+wheaney@users.noreply.github.com> Date: Thu, 30 Nov 2023 15:50:51 -0800 Subject: [PATCH] Pull in latest driver changes, including XREAL Air 2 Pro support --- bin/breezy_vulkan_setup | 10 +++++++++- modules/xrealAirLinuxDriver | 2 +- vulkan/modules/vkBasalt | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/bin/breezy_vulkan_setup b/bin/breezy_vulkan_setup index dfdcc6d..7a46030 100755 --- a/bin/breezy_vulkan_setup +++ b/bin/breezy_vulkan_setup @@ -12,6 +12,8 @@ if [ "$(id -u)" != "0" ]; then exit 1 fi +start_dir=$(pwd) + # create temp directory tmp_dir=$(mktemp -d -t breezy-vulkan-XXXXXXXXXX) pushd $tmp_dir > /dev/null @@ -23,7 +25,13 @@ then echo "Downloading latest release to: ${tmp_dir}/breezyVulkan.tar.gz" curl -L -O https://github.com/wheaney/breezy-desktop/releases/latest/download/breezyVulkan.tar.gz else - cp $1 $tmp_dir + if [[ "$1" = /* ]]; then + abs_path="$1" + else + # Convert relative path to absolute path + abs_path=$(realpath "$start_dir/$1") + fi + cp $abs_path $tmp_dir fi echo "Extracting to: ${tmp_dir}/breezy_vulkan" diff --git a/modules/xrealAirLinuxDriver b/modules/xrealAirLinuxDriver index f6f1de2..8120883 160000 --- a/modules/xrealAirLinuxDriver +++ b/modules/xrealAirLinuxDriver @@ -1 +1 @@ -Subproject commit f6f1de2a8c0fd19683c1261fae74852a63029b66 +Subproject commit 8120883e43e30e40196e2e842323bff01e4275c2 diff --git a/vulkan/modules/vkBasalt b/vulkan/modules/vkBasalt index 225c795..6ca037d 160000 --- a/vulkan/modules/vkBasalt +++ b/vulkan/modules/vkBasalt @@ -1 +1 @@ -Subproject commit 225c79547727e40ade4631e00b1298a89ff0f5b5 +Subproject commit 6ca037df0b881156120f54f99a50f9d4e55c65ec