forked from matrix/element-web
Fix variable name in module build script
This commit is contained in:
parent
67a4081636
commit
ce95ac5e04
|
@ -134,12 +134,12 @@ if ! [ -z ${iohook+x} ] || ! [ -z ${iohook_export+x} ]; then
|
||||||
npm i || echo "Ignoring broken pre-build packages"
|
npm i || echo "Ignoring broken pre-build packages"
|
||||||
rm -rf builds/*
|
rm -rf builds/*
|
||||||
npm run build # This builds libuiohook
|
npm run build # This builds libuiohook
|
||||||
node build.js --runtime electron --version $electron_version --abi $abi --no-upload # Builds the module for the current OS/node version
|
node build.js --runtime electron --version $electron_version --abi $electron_abi --no-upload # Builds the module for the current OS/node version
|
||||||
|
|
||||||
if [ -z ${iohook_export} ]; then
|
if [ -z ${iohook_export} ]; then
|
||||||
# Install
|
# Install
|
||||||
echo "Installing built package"
|
echo "Installing built package"
|
||||||
folder="electron-v$abi-$ostype-x$osarch"
|
folder="electron-v$electron_abi-$ostype-x$osarch"
|
||||||
mkdir -p builds/$folder/build/Release
|
mkdir -p builds/$folder/build/Release
|
||||||
cp build/Release/iohook.node builds/$folder/build/Release/
|
cp build/Release/iohook.node builds/$folder/build/Release/
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue