Open nils-ballmann opened 2 years ago
I have based this on my (tested) gist.
But as soldier_protonfixify seems to be broken with (at least) version 0.20220131.0 of soldier I'm not sure how to test. I tried to fix the line 11 by applying this patch
0.20220131.0
diff --git a/scripts/soldier_protonfixify b/scripts/soldier_protonfixify index 53a45ed..4c5f3f3 100755 --- a/scripts/soldier_protonfixify +++ b/scripts/soldier_protonfixify @@ -8,7 +8,11 @@ set -euo pipefail DEBIAN_REPO_BASE="https://deb.debian.org/debian/pool/" BASE_DIR="${1}" PROTONFIXES_DIR="${2}" -BUILD_ID="$(cat ${1}/com.valvesoftware.SteamRuntime.Platform-amd64,i386-soldier-buildid.txt)" +if [ -f "${1}/com.valvesoftware.SteamRuntime.Platform-amd64,i386-soldier-buildid.txt" ]; then + BUILD_ID="$(cat ${1}/com.valvesoftware.SteamRuntime.Platform-amd64,i386-soldier-buildid.txt)" +else + BUILD_ID="$(grep soldier ${1}/VERSIONS.txt | cut -f2)" +fi LOGFILE="/tmp/protonfixify.log"
but unfortunately this seems not to be enough.
I have based this on my (tested) gist.
But as soldier_protonfixify seems to be broken with (at least) version
0.20220131.0
of soldier I'm not sure how to test. I tried to fix the line 11 by applying this patchbut unfortunately this seems not to be enough.