From f5851a8b4387ac57e97c42e73ff60e093e282537 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 1 Mar 2021 19:12:35 -0500 Subject: [PATCH] hopefully update permissions on updated binaries. --- audiogame-manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 5cbc8b6..177d458 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -68,8 +68,10 @@ update() { if [[ "${continue,,}" =~ ^y|ye|yes$ ]]; then if [[ -w "$0" ]]; then wget --quiet -O "${filePath}" "https://stormgames.wolfe.casa/downloads/${downloadFile}" + chmod +x "$0" else sudo wget --quiet -O "${filePath}" "https://stormgames.wolfe.casa/downloads/${downloadFile}" + sudo chmod +x "$0" fi echo "${0##*/} has been updated. Please launch the program again to use the latest version." exit 0