Remove superfluous renaming
This commit is contained in:
parent
8f37e12819
commit
c478030481
2 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue