aboutsummaryrefslogtreecommitdiff
path: root/flatpak/prime-run
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-11-18 21:37:14 +0100
committerGitHub <noreply@github.com>2022-11-18 21:37:14 +0100
commit347ae0a9ad8d5d933ef76dedab177995029e5f0d (patch)
tree8cffd4d655cf72cc5440b7bb65db4dccb5de8d21 /flatpak/prime-run
parentdbd01d35e645250b4ab7122510bebe2602523faf (diff)
parent464b9ebc95ca0743dd13337a9db7159aab76292a (diff)
downloadPrismLauncher-347ae0a9ad8d5d933ef76dedab177995029e5f0d.tar.gz
PrismLauncher-347ae0a9ad8d5d933ef76dedab177995029e5f0d.tar.bz2
PrismLauncher-347ae0a9ad8d5d933ef76dedab177995029e5f0d.zip
Merge pull request #456 from DioEgizio/flatpak-build
closes https://github.com/PrismLauncher/PrismLauncher/issues/62
Diffstat (limited to 'flatpak/prime-run')
-rw-r--r--flatpak/prime-run4
1 files changed, 4 insertions, 0 deletions
diff --git a/flatpak/prime-run b/flatpak/prime-run
new file mode 100644
index 00000000..946c28dd
--- /dev/null
+++ b/flatpak/prime-run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia
+exec "$@"