Commit a56f506e authored by Samir Benmendil's avatar Samir Benmendil

steam: optionally display kdialog warning

parent 61db0787
......@@ -21,7 +21,7 @@ source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgnam
'steam-runtime.sh')
sha256sums=('42531bf2615afed54c333ae9afeebe8cb68a31304ddfcf90e61b3532a5597386'
'174a110eda1c9d5b1c92a4490b266b31918559bbf8292a94905221c92da4bc0e'
'3e41154cd071198bc8662d29295be0da1a1d2f7d4ff1df834e2b13289af6d3e3')
'fbaeb962f68a5cec26f09864a6b86776f54b5ce18dc000dcab7169443e09c3a6')
prepare() {
......
#!/usr/bin/env bash
if hash kdialog 2>/dev/null; then
kdialog --dontagain steam_warnings_chakra:nofilemsg --msgbox \
"Chakra Linux is not officially supported by Valve.
For help visit the wiki page of Steam https://chakraos.org/wiki/index.php?title=Steam
or ask for help in the forum"
fi
# see https://chakraos.org/wiki/index.php?title=Steam#Missing_Direct_Rendering
export LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so'
exec /usr/lib/steam/steam "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment