mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
chore(transport-bluetooth): remove NAPI builds
This commit is contained in:
committed by
Szymon Lesisz
parent
170fd105a2
commit
186af1e022
@@ -1,3 +0,0 @@
|
||||
var nativeBinding = require('./trezor-bluetooth.node');
|
||||
module.exports = nativeBinding;
|
||||
module.exports.connectDevice = nativeBinding.connectDevice;
|
||||
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
var nativeBinding = require('./trezor-bluetooth.node');
|
||||
module.exports = nativeBinding;
|
||||
module.exports.connectDevice = nativeBinding.connectDevice;
|
||||
Binary file not shown.
@@ -51,12 +51,3 @@ RUN cargo build --target x86_64-apple-darwin --release --bins && \
|
||||
mkdir -p /output/mac-x64 && \
|
||||
cp ./target/x86_64-apple-darwin/release/trezor-bluetooth /output/mac-x64/trezor-bluetooth && \
|
||||
llvm-strip /output/mac-x64/trezor-bluetooth
|
||||
|
||||
# Build NAPI for macOS (ARM64 and x64)
|
||||
COPY ./package.json ./package.json
|
||||
RUN yarn global add @napi-rs/cli && \
|
||||
yarn build:napi && \
|
||||
mkdir -p /output/mac-arm64 && \
|
||||
mkdir -p /output/mac-x64 && \
|
||||
cp ./napi/trezor_bluetooth.darwin-arm64.node /output/mac-arm64/trezor-bluetooth.node && \
|
||||
cp ./napi/trezor_bluetooth.darwin-x64.node /output/mac-x64/trezor-bluetooth.node
|
||||
|
||||
Reference in New Issue
Block a user