This commit is contained in:
Alex Grintsvayg 2017-01-18 13:03:10 -05:00
parent a0ad78b037
commit 030d9e5c65

View file

@ -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'