macOS keytar binding
This commit is contained in:
parent
68a8187964
commit
436f3d3c36
other/keytar/keytar.node
scripts
|
@ -1,6 +1,3 @@
|
|||
### node-keytar bindings
|
||||
|
||||
Copy this directory to `node_modules/keytar/build/Release/keytar.node` to use.
|
||||
|
||||
keytar-4.3.0/linux-x64-64.node - poweredge-t30.fancy.org.uk
|
||||
All others - https://github.com/atom/node-keytar/releases
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
const keytar_version = require('keytar/package').version;
|
||||
|
||||
// module.exports = require('./keytar-' + process.platform + '-' + process.versions.modules + '-' + process.arch + '.node');
|
||||
module.exports = require(`./keytar-${keytar_version}/${process.platform}-${process.arch}-${process.versions.modules}.node`);
|
||||
|
|
Binary file not shown.
|
@ -3,12 +3,7 @@
|
|||
PLATFORM="darwin"
|
||||
ARCH="x64"
|
||||
|
||||
NODE_API_VERSION="53"
|
||||
ELECTRON_VERSION="1.6.15"
|
||||
|
||||
scripts/build-keytar.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
||||
NODE_API_VERSION="64"
|
||||
ELECTRON_VERSION="4.0.0-beta.7"
|
||||
ELECTRON_VERSION="4.0.0-beta.11"
|
||||
|
||||
scripts/build-keytar.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
|
|
@ -3,12 +3,7 @@
|
|||
PLATFORM="linux"
|
||||
ARCH="x64"
|
||||
|
||||
NODE_API_VERSION="53"
|
||||
ELECTRON_VERSION="1.6.15"
|
||||
|
||||
scripts/build-keytar.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
||||
NODE_API_VERSION="64"
|
||||
ELECTRON_VERSION="4.0.0-beta.7"
|
||||
ELECTRON_VERSION="4.0.0-beta.11"
|
||||
|
||||
scripts/build-keytar.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
|
|
@ -4,9 +4,10 @@ PLATFORM="$1"
|
|||
ARCH="$2"
|
||||
NODE_API_VERSION="$3"
|
||||
ELECTRON_VERSION="$4"
|
||||
KEYTAR_VERSION="4.4.1"
|
||||
ELECTRON_URL="https://atom.io/download/electron"
|
||||
|
||||
DIRECTORY="release-tmp/keytar.node/keytar-4.3.0"
|
||||
DIRECTORY="release-tmp/keytar.node/keytar-$KEYTAR_VERSION"
|
||||
FILENAME="$PLATFORM-$ARCH-$NODE_API_VERSION.node"
|
||||
|
||||
if [ `node -p 'process.platform'` != "$PLATFORM" ]; then
|
||||
|
|
|
@ -3,12 +3,7 @@
|
|||
PLATFORM="darwin"
|
||||
ARCH="x64"
|
||||
|
||||
NODE_API_VERSION="53"
|
||||
ELECTRON_VERSION="1.6.15"
|
||||
|
||||
scripts/build-node-sass.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
||||
NODE_API_VERSION="64"
|
||||
ELECTRON_VERSION="4.0.0-beta.7"
|
||||
ELECTRON_VERSION="4.0.0-beta.11"
|
||||
|
||||
scripts/build-node-sass.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
|
|
@ -3,12 +3,7 @@
|
|||
PLATFORM="linux"
|
||||
ARCH="x64"
|
||||
|
||||
NODE_API_VERSION="53"
|
||||
ELECTRON_VERSION="1.6.15"
|
||||
|
||||
scripts/build-node-sass.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
||||
NODE_API_VERSION="64"
|
||||
ELECTRON_VERSION="4.0.0-beta.7"
|
||||
ELECTRON_VERSION="4.0.0-beta.11"
|
||||
|
||||
scripts/build-node-sass.sh $PLATFORM $ARCH $NODE_API_VERSION $ELECTRON_VERSION
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
set "PLATFORM=win32"
|
||||
|
||||
set "NODE_API_VERSION=53"
|
||||
set "ELECTRON_VERSION=1.6.15"
|
||||
|
||||
call ./scripts/build-node-sass.bat %PLATFORM% ia32 %NODE_API_VERSION% %ELECTRON_VERSION%
|
||||
call ./scripts/build-node-sass.bat %PLATFORM% x64 %NODE_API_VERSION% %ELECTRON_VERSION%
|
||||
|
||||
set "NODE_API_VERSION=64"
|
||||
set "ELECTRON_VERSION=4.0.0-beta.7"
|
||||
set "ELECTRON_VERSION=4.0.0-beta.11"
|
||||
|
||||
call ./scripts/build-node-sass.bat %PLATFORM% ia32 %NODE_API_VERSION% %ELECTRON_VERSION%
|
||||
call ./scripts/build-node-sass.bat %PLATFORM% x64 %NODE_API_VERSION% %ELECTRON_VERSION%
|
||||
|
|
Loading…
Reference in New Issue