Small bug fix. Hopefully working now for creating the settings.dat file.
This commit is contained in:
parent
7d659c3ac4
commit
038d784ba2
@ -3054,6 +3054,7 @@ EOF
|
|||||||
sidePartyUser="$(dialog --ok-label "Continue" \
|
sidePartyUser="$(dialog --ok-label "Continue" \
|
||||||
--backtitle "Audiogame Manager" \
|
--backtitle "Audiogame Manager" \
|
||||||
--inputbox "Please enter a user name for Side Party score board:" -1 -1 --stdout)"
|
--inputbox "Please enter a user name for Side Party score board:" -1 -1 --stdout)"
|
||||||
|
mkdir -p "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty"
|
||||||
cp -v "${cache}/SidePartySettings.dat" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat"
|
cp -v "${cache}/SidePartySettings.dat" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat"
|
||||||
if [[ ${#sidePartyUser} -gt 3 ]]; then
|
if [[ ${#sidePartyUser} -gt 3 ]]; then
|
||||||
sed -i "s/Anonymous/${sidePartyUser}/" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat"
|
sed -i "s/Anonymous/${sidePartyUser}/" "$WINEPREFIX/drive_c/Program Files/Side Party/masonasons.me/SideParty/settings.dat"
|
||||||
|
Loading…
Reference in New Issue
Block a user