tarball
This commit is contained in:
parent
a0ad78b037
commit
030d9e5c65
1 changed files with 10 additions and 0 deletions
10
build.sh
10
build.sh
|
@ -41,8 +41,18 @@ cp -R "$ROOT/lbry-web-ui/dist" "$ROOT/electron/"
|
|||
mv "$ROOT/lbrynet/dist/lbry" "$ROOT/electron/dist"
|
||||
|
||||
if [ -n "${TEAMCITY_VERSION:-}" ]; then
|
||||
# macOS
|
||||
electron-packager --electron-version=1.4.14 --platform=darwin --overwrite "$ROOT/electron" LBRY
|
||||
|
||||
# linux
|
||||
electron-packager --electron-version=1.4.14 --platform=linux --overwrite "$ROOT/electron" LBRY
|
||||
(
|
||||
cd "$ROOT"
|
||||
tar cvzf lbry.tgz "LBRY-linux-x64/"
|
||||
)
|
||||
|
||||
#windows ... coming soon
|
||||
|
||||
echo 'Build and packaging complete.'
|
||||
else
|
||||
echo 'Build complete. Run `electron electron` to launch the app'
|
||||
|
|
Loading…
Reference in a new issue