Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Nov 15, 2021
2 parents 04919d8 + 326cebf commit eea5033
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions electron/build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ if [[ -z "$SKIP_SERVER" ]]; then
fi

# Use faketime (if available) to make reproducible electron builds (works for all builds except deb and the Windows portable runner)
: ${LIBFAKETIME:=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1}
if [ -f "$LIBFAKETIME" ]; then
#: ${LIBFAKETIME:=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1}
#if [ -f "$LIBFAKETIME" ]; then
# Set a start timestamp and make the clock move *very* slowly. The build
# should finish in under 1 second with this speed.
export LD_PRELOAD=$LIBFAKETIME FAKETIME="@2017-11-08 16:58:41 x0.0000001"
fi
# export LD_PRELOAD=$LIBFAKETIME FAKETIME="@2017-11-08 16:58:41 x0.0000001"
#fi

# Build electron package
if [[ -z "$SKIP_PACKAGE" ]]; then
electron-builder "$@" -c.extraMetadata.version=`node -p 'require("../package").version'`
# correct the timestamp for the final dist files (needed when faketime is used)
touch dist/*
# touch dist/*
fi

[ -n "$FAKETIME" ] && unset FAKETIME
#[ -n "$FAKETIME" ] && unset FAKETIME
Empty file modified scripts/docker-entrypoint.sh
100644 → 100755
Empty file.

0 comments on commit eea5033

Please sign in to comment.