Rocket.Chat-Desktop: maybe unbreak on i686
This commit is contained in:
parent
a5ae2e82ce
commit
aca4f02e8b
|
@ -16,15 +16,16 @@ checksum=c8c4f4d29ffe7cee825e7967bdabe1abdadc7153f169c36ee971b491a29628b1
|
|||
|
||||
export USE_SYSTEM_APP_BUILDER=true
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) broken="https://build.voidlinux.org/builders/i686_builder/builds/27897/steps/shell_3/logs/stdio"
|
||||
esac
|
||||
|
||||
do_configure() {
|
||||
# we can't make electron skip binary download as that fails in do_build
|
||||
# so instead, force a bogus architecture so it downloads its binary
|
||||
# artifact, it will use the system one later anyway
|
||||
npm_config_arch=x64 \
|
||||
# but this appears to fail on i686, so don't override there
|
||||
local carch=x64
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) carch=ia32 ;;
|
||||
esac
|
||||
npm_config_arch=$carch \
|
||||
yarn upgrade electron@"$(</usr/lib/electron${_electron_ver}/version)" \
|
||||
--non-interactive
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue