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

Add workshop support #115

Merged
merged 3 commits into from
May 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added workshop params
tydaytygx authored May 13, 2024
commit 557f8efce75ce959bbd87afc3b653131f0df182e
11 changes: 8 additions & 3 deletions bullseye/etc/entry.sh
Original file line number Diff line number Diff line change
@@ -12,9 +12,9 @@ else
fi

eval bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
+login anonymous \
+app_update "${STEAMAPPID}" "${VALIDATE}"\
+quit
+login anonymous \
+app_update "${STEAMAPPID}" "${VALIDATE}"\
+quit

# steamclient.so fix
mkdir -p ~/.steam/sdk64
@@ -113,6 +113,11 @@ eval "./cs2" -dedicated \
"${SV_SETSTEAMACCOUNT_ARGS}" \
+sv_password "${CS2_PW}" \
+sv_lan "${CS2_LAN}" \
+sv_downloadurl "${CS2_FASTDL_URL}" \
+sv_allowdownload "${CS2_FASTDL_ALLOW_DOWNLOAD}" \
+sv_allowupload "${CS2_FASTDL_ALLOW_UPLOAD}" \
+host_workshop_map "${CS2_HOST_WORKSHOP_MAP}"\
+host_workshop_collection "${CS2_HOST_WORKSHOP_COLLECTION}"\
"${CS2_ADDITIONAL_ARGS}"

# Post Hook