Make generated .app deterministic
This commit is contained in:
@@ -77,6 +77,13 @@ fail "Could not install hardware wallet requirements"
|
|||||||
info "Building $PACKAGE..."
|
info "Building $PACKAGE..."
|
||||||
python3 setup.py install --user > /dev/null || fail "Could not build $PACKAGE"
|
python3 setup.py install --user > /dev/null || fail "Could not build $PACKAGE"
|
||||||
|
|
||||||
|
info "Faking timestamps..."
|
||||||
|
for d in ~/Library/Python/ ~/.pyenv .; do
|
||||||
|
pushd $d
|
||||||
|
find . -exec touch -t '200101220000' {} +
|
||||||
|
popd
|
||||||
|
done
|
||||||
|
|
||||||
info "Building binary"
|
info "Building binary"
|
||||||
pyinstaller --noconfirm --ascii --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary"
|
pyinstaller --noconfirm --ascii --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user