mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
steam: optionally display kdialog warning
This commit is contained in:
parent
61db07874c
commit
a56f506e11
@ -21,7 +21,7 @@ source=("http://repo.steampowered.com/$pkgname/pool/$pkgname/s/$pkgname/${pkgnam
|
||||
'steam-runtime.sh')
|
||||
sha256sums=('42531bf2615afed54c333ae9afeebe8cb68a31304ddfcf90e61b3532a5597386'
|
||||
'174a110eda1c9d5b1c92a4490b266b31918559bbf8292a94905221c92da4bc0e'
|
||||
'3e41154cd071198bc8662d29295be0da1a1d2f7d4ff1df834e2b13289af6d3e3')
|
||||
'fbaeb962f68a5cec26f09864a6b86776f54b5ce18dc000dcab7169443e09c3a6')
|
||||
|
||||
|
||||
prepare() {
|
||||
|
@ -1,5 +1,12 @@
|
||||
#!/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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user