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.
This commit is contained in:
harry0498 2022-06-18 20:17:30 +01:00 committed by GitHub
parent c8612b367b
commit 00d77a0133
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,7 @@ dec2base64() {
}
' \
| base64 \
| sed 's|/|-|g; s|=||g'
| sed 's|/|-|g; s|+|_|g; s|=||g'
}