Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added STAR WARS™ Galactic Battlegrounds Saga (356500) #171

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nils-ballmann
Copy link

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant