Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Update install.sh (#83)
Browse files Browse the repository at this point in the history
Fix: awk: towc: multibyte conversion failure on: '?! '
  • Loading branch information
genhack authored Dec 17, 2024
1 parent 77c7b1e commit 224e2ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ if [[ "${UNINSTALL_FLAG}" == "true" ]]; then
fi

# Find client version
CLIENT_VERSION=$(awk '/CFBundleShortVersionString/{getline; print}' "${INSTALL_PATH}/Contents/Info.plist" | cut -d\> -f2- | rev | cut -d. -f2- | rev)
#Fix Using plutil:"awk: towc: multibyte conversion failure on: '?! '"
CLIENT_VERSION=$(plutil -p "${INSTALL_PATH}/Contents/Info.plist" | grep CFBundleShortVersionString | awk -F'"' '{print $4}')

# Get Mac OS Architecture
MAC_ARCH=$(uname -m)
Expand Down

0 comments on commit 224e2ae

Please sign in to comment.