diff --git a/README.md b/README.md index 14670054f8b55c1f6dd42304c819f2a07dc6c1dd..cb96b9257511d31b56e8e78d347e36efdaeb27f4 100644 --- a/README.md +++ b/README.md @@ -283,7 +283,7 @@ Instructions for testing - below LastPlayed, add: - "LaunchOptions" "~/.steam/steam/steamapps/common/SteamLinuxRuntime/pressure-vessel/bin/pressure-vessel-unruntime-test-ui -- %command%" + "LaunchOptions" "PRESSURE_VESSEL_WRAP_GUI=1 ~/.steam/steam/steamapps/common/SteamLinuxRuntime/pressure-vessel/bin/pressure-vessel-unruntime -- %command%" - restart Steam (on SteamOS use `sudo systemctl restart lightdm`) @@ -474,7 +474,7 @@ configured. ### More options -Use `pressure-vessel-unruntime` or `pressure-vessel-unruntime-test-ui` +Use `pressure-vessel-unruntime` if you are in a Steam Runtime environment (the Steam Runtime's `run.sh` or a Steam game), and `pressure-vessel-wrap` or `pressure-vessel-test-ui` if you are not ("Add non-Steam game" in Steam, or a non-Steam-related diff --git a/build-relocatable-install.py b/build-relocatable-install.py index 51be981e594c9d8d0ddcebb141b78cf81f973e92..4a39f1ecd1ef9c74cdfcbb5fe042f511b5060ddc 100755 --- a/build-relocatable-install.py +++ b/build-relocatable-install.py @@ -105,7 +105,6 @@ SCRIPTS = [ 'pressure-vessel-test-ui', 'pressure-vessel-unruntime', 'pressure-vessel-unruntime-scout', - 'pressure-vessel-unruntime-test-ui', ] EXECUTABLES = [ 'pressure-vessel-adverb', diff --git a/meson.build b/meson.build index 808a289f048277024ed3f9488236a516fef92665..0747c99051e8f4e0dce8ba0e9f4f6ca77d8026ef 100644 --- a/meson.build +++ b/meson.build @@ -186,7 +186,6 @@ scripts = [ 'pressure-vessel-test-ui', 'pressure-vessel-unruntime', 'pressure-vessel-unruntime-scout', - 'pressure-vessel-unruntime-test-ui', ] foreach script : scripts diff --git a/pressure-vessel-unruntime-test-ui b/pressure-vessel-unruntime-test-ui deleted file mode 100755 index 4458d2c1639ccf3985a1e27997fa18ea9ce3133f..0000000000000000000000000000000000000000 --- a/pressure-vessel-unruntime-test-ui +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# pressure-vessel-unruntime — undo the Steam Runtime's environment -# -# Copyright © 2017-2019 Collabora Ltd. -# -# SPDX-License-Identifier: MIT -# -# Permission is hereby granted, free of charge, to any person obtaining -# a copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Software, and to -# permit persons to whom the Software is furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -set -e -set -o pipefail -set -u -shopt -s nullglob - -me="$(readlink -f "$0")" -here="${me%/*}" -me="${me##*/}" - -export PRESSURE_VESSEL_WRAP_GUI=yes -exec "$here/pressure-vessel-unruntime" "$@" - -# vim:set sw=4 sts=4 et: diff --git a/tests/shellcheck.sh b/tests/shellcheck.sh index f952e51278e76623bb1e09865192c167d4fcec8e..49a13c9060586d7a0b7d2a0ac58a9b423a5ff308 100755 --- a/tests/shellcheck.sh +++ b/tests/shellcheck.sh @@ -37,7 +37,6 @@ n=0 for shell_script in \ ./pressure-vessel-unruntime \ ./pressure-vessel-unruntime-scout \ - ./pressure-vessel-unruntime-test-ui \ ./pressure-vessel-locale-gen \ ./tests/*.sh \ ; do