From 00d77a0133f902ba46d0bff8a36bc79fe7c03811 Mon Sep 17 00:00:00 2001 From: harry0498 <40968209+harry0498@users.noreply.github.com> Date: Sat, 18 Jun 2022 20:17:30 +0100 Subject: [PATCH] fix: translate base64 `+` chars to `_` (#17) This fixes mods not being loaded by the DayZ client where the calculated base64 string of the modID includes a + character. --- dayz-launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dayz-launcher.sh b/dayz-launcher.sh index 49ff32c..a02499c 100755 --- a/dayz-launcher.sh +++ b/dayz-launcher.sh @@ -202,7 +202,7 @@ dec2base64() { } ' \ | base64 \ - | sed 's|/|-|g; s|=||g' + | sed 's|/|-|g; s|+|_|g; s|=||g' }