Skip to content

Commit ce8925d

Browse files
committed
Set WrapperPath to box64 if it's installed
1 parent 9f3fa6b commit ce8925d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ cp launcher.toml $TEMPFILE
1919

2020
shopt -s nocasematch
2121

22+
if [ -f /usr/local/bin/box64 ]; then
23+
sed -i 's/WrapperPath.*/WrapperPath = "\/usr\/local\/bin\/box64"' $TEMPFILE
24+
fi
25+
2226
if [[ "$DISABLE_ENCRYPTION" =~ ^(true|1|yes])$ ]]; then
2327
echo Encryption will be disabled because DISABLE_ENCRYPTION is set.
2428
echo Check https://github.com/birdhimself/astroneer-docker?tab=readme-ov-file#configuring-clients-if-encryption-is-disabled on how to enable clients to connect to servers with encryption disabled.

launcher.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
DisableEncryption = false
33
OverrideWinePath = "/opt/proton/files/bin/wine64"
44
LogDebugMessages = false
5+
WrapperPath = ""

0 commit comments

Comments
 (0)