From bc5c4f37f6c5dba46a7a9529973692a60923bf72 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 16 Jan 2022 16:27:28 -0500 Subject: [PATCH] Fixed a pretty massive bug in update-swamp. --- game-scripts/swamp-update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game-scripts/swamp-update.sh b/game-scripts/swamp-update.sh index 635fcb4..c823bff 100755 --- a/game-scripts/swamp-update.sh +++ b/game-scripts/swamp-update.sh @@ -11,7 +11,7 @@ # # Software distributed under the License is distributed on an â ISâasis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the +# for THE SPecific language governing rights and limitations under the # License. # # The Original Code is audiogame manager. @@ -44,7 +44,7 @@ updateFiles=("Swamp.zip") # Back up configuration files. for i in losers.txt muted.txt scriptkeys.txt keyconfig.ini ; do - cp -v ~/"drive_c/Program Files/swamp/${i}" ~/"drive_c/Program Files/swamp/${i}.agm" + cp -v ~/".local/wine/swamp/drive_c/Program Files/swamp/${i}" ~/".local/wine/swamp/drive_c/Program Files/swamp/${i}.agm" echo "${i} backed up as ${i}.agm" done | dialog --progressbox "Backing up configuration files. They can be found in your swamp directory." -1 -1 @@ -53,7 +53,7 @@ sleep 3 # Download and extract updates for i in "${updateFiles[@]}" ; do wget -O "${cache}/$i" "${url}/$i" - unzip -d ~/"drive_c/Program Files/swamp" "${cache}/${i}" + unzip -d ~/".local/wine/swamp/drive_c/Program Files/swamp" "${cache}/${i}" done | dialog --progressbox "Updating Swamp, please wait..." -1 -1