diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-03-21 07:09:58 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-03-21 07:09:58 +0300 |
commit | 17645ca6e560e3ab118479f9e04fed67efaa40a7 (patch) | |
tree | ea313ca99ea01ac9f781260d3adcf51181901220 | |
parent | b3bacad0bfd05c82402a6ce163ad2de511056cf3 (diff) |
Update createRelease.shv3.1.1
-rw-r--r-- | build/createRelease.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/createRelease.sh b/build/createRelease.sh index 910939c..4f2647b 100644 --- a/build/createRelease.sh +++ b/build/createRelease.sh @@ -119,7 +119,8 @@ elif [[ $runtime == osx-* ]]; then cp -af "$platformsDir/osx/Info.plist" "$osxApp/Contents/" cp -af "$platformsDir/osx/UVtools.entitlements" "$osxApp/Contents/" cp -a "$publishRuntimeDir/." "$osxApp/Contents/MacOS" - sed -i '' "s/#VERSION/$version/g" "$osxApp/Contents/Info.plist" + sed -i "s/#VERSION/$version/g" "$osxApp/Contents/Info.plist" 2>/dev/null + sed -i '' "s/#VERSION/$version/g" "$osxApp/Contents/Info.plist" 2>/dev/null # Remove the base publish if able [ "$keepNetPublish" == false ] && rm -rf "$publishRuntimeDir" 2>/dev/null |