Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Conceição <Tiago_caza@hotmail.com>2022-03-21 07:09:58 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2022-03-21 07:09:58 +0300
commit17645ca6e560e3ab118479f9e04fed67efaa40a7 (patch)
treeea313ca99ea01ac9f781260d3adcf51181901220
parentb3bacad0bfd05c82402a6ce163ad2de511056cf3 (diff)
Update createRelease.shv3.1.1
-rw-r--r--build/createRelease.sh3
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