diff --git a/build/build.ps1 b/build/build.ps1 index d2c549580..465e43915 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -24,9 +24,6 @@ rm daemon.zip # build electron app yarn dist -$binary_name = Get-ChildItem -Path dist -Filter 'LBRY Setup*.exe' -Name -$new_name = $binary_name -replace '^LBRY Setup (.*)\.exe$', 'LBRY_$1.exe' -Rename-Item -Path "dist\$binary_name" -NewName $new_name dir dist # verify that binary was built/named correctly diff --git a/build/build.sh b/build/build.sh index 6d64bec03..37a26b0a1 100755 --- a/build/build.sh +++ b/build/build.sh @@ -79,12 +79,6 @@ if [ "$FULL_BUILD" == "true" ]; then yarn dist - if $OSX; then - binary_name=$(find "$ROOT/dist" -iname "*dmg") - new_name=$(basename "$binary_name" | sed 's/-/_/') - mv "$binary_name" "$(dirname "$binary_name")/$new_name" - fi - # electron-build has a publish feature, but I had a hard time getting # it to reliably work and it also seemed difficult to configure. Not proud of # this, but it seemed better to write my own.