diff --git a/build/createRelease.sh b/build/createRelease.sh index 77fa85a..22a6b3d 100644 --- a/build/createRelease.sh +++ b/build/createRelease.sh @@ -125,8 +125,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" 2>/dev/null - 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 # Linux + sed -i '' "s/#VERSION/$version/g" "$osxApp/Contents/Info.plist" 2>/dev/null # macOS # Remove the base publish if able [ "$keepNetPublish" == false ] && rm -rf "$publishRuntimeDir" 2>/dev/null