Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sk/merge upstream #13

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
b54852d
Update to FFmpeg 5
scriptorian Feb 25, 2022
6c4f8ed
Update linux scripts and test build for FFmpeg 5
scriptorian Feb 25, 2022
0c4bf22
fix: building for macos on m1
mint-dewit Feb 27, 2022
26b03a2
Merge pull request #86 from baltedewit/master
scriptorian Feb 28, 2022
57bfdf3
Update for FFmpeg 5
scriptorian Feb 28, 2022
e3a099c
#85 Add arm64 to supported linux platforms
scriptorian Feb 28, 2022
85ae16e
Bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Mar 31, 2022
f3ce4e1
Merge pull request #91 from Streampunk/dependabot/npm_and_yarn/minimi…
scriptorian Mar 31, 2022
aee5ff9
Security update
scriptorian Mar 31, 2022
fb69649
Use pkg-config on linux to resolve ffmpeg link dependencies
skadisch Apr 6, 2022
0368cd2
Support for ffmpeg 5.0 on linux
paulgrammer May 8, 2022
38e03de
Allow to pass hw device to filters and allocate hw frame contexts
Jun 13, 2022
ebe3fa2
feat: set logging callback, not working yet
piercus Oct 6, 2022
8dc6c1f
progress
piercus Oct 6, 2022
96ac601
fix: first working version, thread not released
piercus Oct 6, 2022
85b40d2
fix: #107
piercus Oct 7, 2022
af09d68
#107 fix README and tests
piercus Oct 7, 2022
7b5d272
Merge pull request #109 from piercus/set-logging-callback
scriptorian Nov 12, 2022
810a593
Merge pull request #96 from paulgrammer/paulgrammer-patch-1
scriptorian Nov 12, 2022
d5f006c
Merge pull request #100 from Tellyo/pr-filters-hwaccel
scriptorian Nov 12, 2022
87a6722
Merge pull request #92 from k13-engineering/feature/pkg-config
scriptorian Nov 12, 2022
2bd1fe2
Fix lint errors
scriptorian Nov 12, 2022
d305886
Merge remote-tracking branch 'upstream/master' into sk/merge-upstream
srikanth-descript Dec 13, 2023
acfff75
Fixup after merge
srikanth-descript Dec 13, 2023
ad017b5
Moving up ubuntu version and build
srikanth-descript Dec 13, 2023
a0182f8
Updating pre-build scripts
srikanth-descript Dec 14, 2023
943c4d7
Adding git
srikanth-descript Dec 14, 2023
1360c96
Adding git-lfs
srikanth-descript Dec 14, 2023
401651a
Adding distutils for mac
srikanth-descript Dec 14, 2023
5b69096
Adding setuptools for python3.12
srikanth-descript Dec 14, 2023
54150ba
Pinning python to 3.10
srikanth-descript Dec 14, 2023
d117d0c
Adding bashrc
srikanth-descript Dec 14, 2023
a25fdaf
Really?
srikanth-descript Dec 14, 2023
e9cf877
Trying to go back to 3.12
srikanth-descript Dec 14, 2023
1f6ae3b
Updating package-lock
srikanth-descript Dec 14, 2023
3e076ba
Adding setuptools
srikanth-descript Dec 14, 2023
6d496da
updating node-gyp
srikanth-descript Dec 14, 2023
b5fc432
Updating node-gyp for prebuild
srikanth-descript Dec 14, 2023
6f645d3
Updating package jobs and patches
srikanth-descript Dec 14, 2023
3d570f8
WCGW?
srikanth-descript Dec 14, 2023
d9e152d
Creating release
srikanth-descript Dec 14, 2023
3a213e0
Adding versions
srikanth-descript Dec 14, 2023
9615339
Fixing patch message
srikanth-descript Dec 14, 2023
7897126
Fixing prebuild version
srikanth-descript Dec 14, 2023
8bdeefa
Adding version.
srikanth-descript Dec 14, 2023
beef236
Set node user
srikanth-descript Dec 14, 2023
3ce8bda
More package changes
srikanth-descript Dec 15, 2023
aacb47f
This version of beam coder required v4
srikanth-descript Dec 15, 2023
39115d6
Last known good version compatible with prebuild
srikanth-descript Dec 15, 2023
9607b47
updating tags
srikanth-descript Dec 15, 2023
ddbc0c5
Fixing build tag
srikanth-descript Dec 15, 2023
344815b
Updating RC to 5 to fix FFMPEG dependency on mac
srikanth-descript Dec 20, 2023
5971f6b
Adding log
srikanth-descript Dec 21, 2023
9dfc562
Removing /WX to avoid windows build failures on deprecated functions
srikanth-descript Dec 21, 2023
dd37776
Adding ffmpeg/ffprobe to linux prebuild
srikanth-descript Jan 3, 2024
75bb34a
Moving up version to rc.6
srikanth-descript Jan 3, 2024
0ec8a28
Updating pre-install script
Jul 8, 2024
02e3274
Adding support for shared build from descripinc/ffmpeg-build-script f…
Jul 8, 2024
5d8046a
GIT
Jul 8, 2024
e4c7c59
GITLFS
Jul 8, 2024
5f888e1
Adding write permissions to uplaod artifacts
Jul 8, 2024
91a6bbb
Fixing indentation
Jul 8, 2024
e7e3ed6
indent
Jul 8, 2024
1bf57f2
Split windows and macos jobs
Jul 8, 2024
041b73e
Working linux prebuild
Jul 11, 2024
070f655
Updating package RC number
srikanth-descript Jul 11, 2024
4257cfd
New beamcoder prebuild release with ffmpeg 6
Jul 16, 2024
ed71d82
RC.10 release commit
srikanth-descript Jul 22, 2024
b27dc79
Moving ffmpeg to dynamic dependency
srikanth-descript Jul 24, 2024
07e75cc
Bumping up ffmpeg-ffprobe-static release
srikanth-descript Jul 24, 2024
039df40
Including ffmpeg/ffprobe statics
srikanth-descript Jul 24, 2024
6483dca
Fixup
srikanth-descript Jul 24, 2024
0792423
Fixing NPM_INTEGRITY error
srikanth-descript Jul 24, 2024
4ba327c
Changing the build environment
srikanth-descript Aug 13, 2024
85c8af8
Updating install script
srikanth-descript Aug 13, 2024
d6659c2
Updating builder environment
srikanth-descript Aug 13, 2024
0fcd23f
Bringing ffmpeg version to 5.1
srikanth-descript Aug 22, 2024
9d0b142
Fixing Intel max builds
srikanth-descript Sep 5, 2024
13a7f14
Bumping RC to 18. Making it work with intel macs
srikanth-descript Sep 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
UV_THREADPOOL_SIZE: 16
docker:
- image: streampunkmedia/testbeam:16-4.4
- image: streampunkmedia/testbeam:16-5.0
steps:
- checkout
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
Expand Down
3 changes: 2 additions & 1 deletion .circleci/test_image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM cimg/node:16.13
FROM cimg/node:16.14

# install FFmpeg
RUN sudo apt-get update \
&& sudo apt-get install software-properties-common \
&& sudo add-apt-repository ppa:savoury1/ffmpeg4 \
&& sudo add-apt-repository ppa:savoury1/ffmpeg5 \
&& sudo apt-get update \
&& sudo apt-get upgrade && sudo apt-get dist-upgrade \
&& sudo apt-get install libavcodec-dev libavformat-dev libavdevice-dev libavfilter-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev
Expand Down
111 changes: 64 additions & 47 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,49 @@
name: prebuild
on: [push]

permissions:
contents: write

jobs:
package:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- macos-latest
- windows-latest
linux-package:
permissions:
contents: write
runs-on: ubuntu-24.04
container:
image: node:18.20.4-bookworm
steps:
- name: check Linux dependencies
shell: bash
run: |
apt update
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --no-install-suggests -y \
git git-lfs libxcb1 unzip curl python3-setuptools build-essential libxcb1-dev \
libavcodec-dev libavformat-dev libavdevice-dev libavfilter-dev libavutil-dev \
libpostproc-dev libswresample-dev libswscale-dev libzimg-dev

- uses: actions/checkout@v2
with:
lfs: true

- name: npm install
run: npm install
env:
PREBUILD: true

- name: check Linux dependencies
run: node ./install_ffmpeg.js

- name: prebuild for Linux (x64)
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}

windows-package:
permissions:
contents: write
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Use nodejs
uses: actions/setup-node@v1
with:
Expand All @@ -26,58 +54,47 @@ jobs:
env:
PREBUILD: true

- name: install Linux dependencies
run: |
sudo add-apt-repository ppa:savoury1/ffmpeg4
sudo apt-get update
sudo apt-get install libavcodec-dev libavformat-dev libavdevice-dev libavfilter-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev libzimg-dev
if: ${{ runner.os == 'Linux' }}

- name: check Linux dependencies
- name: install Windows dependencies
run: node ./install_ffmpeg.js
if: ${{ runner.os == 'Linux'}}

- name: prebuild for Windows
run: npx prebuild --runtime napi --include-regex '.node|.dll|.exe' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
shell: bash

macos-package:
permissions:
contents: write
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true

- name: Use nodejs
uses: actions/setup-node@v1
with:
node-version: 16.13.0

- name: install Mac build dependencies (brew)
run: brew install nasm pkg-config
if: ${{ runner.os == 'macOS'}}
run: |
brew install nasm pkg-config python-packaging python-setuptools

- name: npm install
run: npm install
env:
PREBUILD: true

- name: install Mac dependencies (shared release x64)
run: node ./install_ffmpeg.js --arch x64
if: ${{ runner.os == 'macOS'}}

- name: install Mac dependencies (shared release arm64)
run: node ./install_ffmpeg.js --arch arm64
if: ${{ runner.os == 'macOS'}}

- name: install Windows dependencies
run: node ./install_ffmpeg.js
if: ${{ runner.os == 'Windows'}}

- name: prebuild Release for macOS (x64)
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
if: ${{ runner.os == 'macOS'}}

# - name: prebuild Debug for macOS (x64)
# run: npx prebuild --debug --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
# if: ${{ runner.os == 'macOS'}}

- name: clean build directory for cross-compiling
run: rm ./build/Release/*.dylib
if: ${{ runner.os == 'macOS'}}
run: rm ./build/Release/*.dylib || true

- name: prebuild Release for macOS (arm64)
run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
if: ${{ runner.os == 'macOS'}}

- name: prebuild for Windows
run: npx prebuild --runtime napi --include-regex '.node|.dll|.exe' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
shell: bash
if: ${{ runner.os == 'Windows'}}

- name: prebuild for Linux (x64)
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
if: ${{ runner.os == 'Linux'}}

- name: prebuild for Linux (arm64)
run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
if: ${{ runner.os == 'Linux'}}
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17.0.1
16.20.2
5 changes: 2 additions & 3 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/ucrt",
"C:/Program Files (x86)/Windows Kits/8.1/Include/shared",
"C:/Program Files (x86)/Windows Kits/8.1/Include/winrt",
"${workspaceFolder}/**",
"${workspaceFolder}/ffmpeg/ffmpeg-4.x-win64-shared/include/**",
"${env:USERPROFILE}/AppData/Local/node-gyp/Cache/12.21.0/include/node"
"${workspaceFolder}/ffmpeg/ffmpeg-5.x-win64-shared/include/**",
"${env:USERPROFILE}/AppData/Local/node-gyp/Cache/16.14.0/include/node"
],
"defines": [
"_DEBUG",
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ If you are looking to write your own frame-by-frame transcoder, media mangler or

Does beam coder support X, Y or Z protocol / format / codec / file type / stream type / hardware etc.? If FFmpeg supports it, its possible and likely. Beam coder is self-describing at runtime, allowing exploration of what should be possible. However, you have to start somewhere, and the developers have been testing with the codecs and formats they are familiar with. Issues are expected so please raise any problems or requests for additional features as git hub issues. Even better, raise a pull request to fix a problem or add in missing features. Automated testing will be extended in due course, memory management improved, more examples added and hardware accelerated codecs added.

Beam coder will be a cross-platform module for Windows, Mac and Linux. The release version of FFmpeg that beam coder links with is currently 4.1.
Beam coder will be a cross-platform module for Windows, Mac and Linux. The release version of FFmpeg that beam coder links with is currently 5.0.

Typescript bindings are available

Expand All @@ -69,9 +69,9 @@ Beam coder is the first release of Streampunk Media's [_Aerostat_](https://en.wi

### Pre-requisites

Native packages require a build stage that needs some setup. This includes Python 2.7 (not 3) and build tools.
Native packages require a build stage that needs some setup. This includes Python 3 and build tools.

1. Install the LTS version of [Node.js](https://nodejs.org/en/) for your platform, currently the latest v10.
1. Install the LTS version of [Node.js](https://nodejs.org/en/) for your platform, currently the latest v16.
2. Enable [node-gyp - the Node.js native addon build tool](https://github.com/nodejs/node-gyp) for your platform by following the [installation instructions](https://github.com/nodejs/node-gyp#installation).

Note: For MacOSX _Mojave_, install the following package after `xcode-select --install`:
Expand All @@ -92,7 +92,7 @@ This will install all necessary dependencies, download the FFmpeg shared and dev

Note that if you want to use a local version of FFmpeg then, before the install, symbolic link or copy appropriate folders to:

./node_modules/beamcoder/ffmpeg/ffmpeg-4.x-win64-shared
./node_modules/beamcoder/ffmpeg/ffmpeg-5.x-win64-shared

To ensure that sufficient threads are available to process several requests in parallel, set the `UV_THREADPOOL_SIZE` environment variable, e.g.:

Expand All @@ -103,6 +103,7 @@ To ensure that sufficient threads are available to process several requests in p
On Linux, use the appropriate package manager to install the FFmpeg 4.1 development dependencies first. An error will be printed if these cannot be found at expected locations. For example, on Ubuntu:

sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo add-apt-repository ppa:savoury1/ffmpeg5
sudo apt-get update
sudo apt-get install libavcodec-dev libavformat-dev libavdevice-dev libavfilter-dev libavutil-dev libpostproc-dev libswresample-dev libswscale-dev libzimg-dev

Expand Down Expand Up @@ -280,6 +281,11 @@ To control the level of logging from FFmpeg you can use the `beamcoder.logging()
* `debug` - stuff which is only useful for libav* developers
* `trace` - extremely verbose debugging for libav* developers

To bypass the default ffmpeg logger you can use `beamcoder.setLoggingCallback()`. For example, to log all the messages using `console.log` :
```javascript
beamcoder.setLoggingCallback(msg => console.log(msg))
```

### Demuxing

The process of demuxing (de-multiplexing) extracts time-labelled packets of data contained in a media stream or file. FFmpeg provides a diverse range of demuxing capability with support for a wide range of input formats and protocols (`beamcoder.protocols()`).
Expand Down
88 changes: 48 additions & 40 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
{
"targets": [{
"target_name" : "beamcoder",
"defines": [
"NAPI_VERSION=<(napi_build_version)"
],
"sources" : [ "src/beamcoder.cc", "src/beamcoder_util.cc",
"src/log.cc" ,
"src/governor.cc", "src/demux.cc",
"src/decode.cc", "src/filter.cc",
"src/encode.cc", "src/mux.cc",
"src/packet.cc", "src/frame.cc",
"src/codec_par.cc", "src/format.cc",
"src/codec.cc", "src/hwcontext.cc" ],
"defines": [
"NAPI_VERSION=<(napi_build_version)"
],
"conditions": [
['OS=="linux"', {
"variables": {
"ffmpeg_version": "1.49.rc.1",
"target_arch_override": "<!(node -p \"'<(target_arch)' === 'x64' ? 'x86_64' : '<(target_arch)'\")",
},
"defines": [
"__STDC_CONSTANT_MACROS"
],
Expand All @@ -24,17 +29,26 @@
"-std=c++11",
"-fexceptions"
],
"include_dirs": [
"<(module_root_dir)/ffmpeg/ffmpeg-ffprobe-shared-linux-<(target_arch_override).<(ffmpeg_version)/include/"
],

"link_settings": {
"ldflags": [
"--verbose"
],
"libraries": [
"-lavcodec",
"-lavdevice",
"-lavfilter",
"-lavformat",
"-lavutil",
"-lpostproc",
"-lswresample",
"-lswscale",
"-lzimg"
"-Wl,-rpath,./build/Release/ "
"-L<(module_root_dir)/ffmpeg/ffmpeg-ffprobe-shared-linux-<(target_arch_override).<(ffmpeg_version)/ "
"-lavcodec",
"-lavdevice",
"-lavfilter",
"-lavformat",
"-lavutil",
"-lpostproc",
"-lswresample",
"-lswscale",
"-lzimg"
]
},
"copies": [
Expand All @@ -49,20 +63,12 @@
}],
["OS=='mac'", {
"variables": {
"ffmpeg_version": "1.33rc3",
"ffmpeg_version": "1.49.rc.1",
"target_arch_override": "<!(node -p \"'<(target_arch)' === 'x64' ? 'x86_64' : '<(target_arch)'\")",
},
"defines": [
"__STDC_CONSTANT_MACROS"
],
"cflags_cc!": [
"-fno-rtti",
"-fno-exceptions"
],
"cflags_cc": [
"-std=c++11",
"-fexceptions"
],
"include_dirs": [
"<(module_root_dir)/ffmpeg/ffmpeg-ffprobe-shared-darwin-<(target_arch_override).<(ffmpeg_version)/include/"
],
Expand All @@ -85,6 +91,8 @@
},
'xcode_settings': {
'MACOSX_DEPLOYMENT_TARGET': '10.11',
'OTHER_CFLAGS': ['-fno-rtti', '-fno-exceptions', '-arch <(target_arch_override)', '-v'],
'OTHER_LDFLAGS': ['-arch <(target_arch_override)'],
},
"copies": [
{
Expand All @@ -102,42 +110,42 @@
"msvs_settings": {
"VCCLCompilerTool": {
"RuntimeTypeInfo": "true",
"AdditionalOptions": ['/WX']
"AdditionalOptions": []
}
}
}
},
"include_dirs" : [
"ffmpeg/ffmpeg-4.x-win64-shared/include"
"ffmpeg/ffmpeg-5.x-win64-shared/include"
],
"libraries": [
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/avcodec",
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/avdevice",
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/avfilter",
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/avformat",
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/avutil",
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/postproc",
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/swresample",
"-l../ffmpeg/ffmpeg-4.x-win64-shared/lib/swscale"
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/avcodec",
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/avdevice",
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/avfilter",
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/avformat",
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/avutil",
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/postproc",
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/swresample",
"-l../ffmpeg/ffmpeg-5.x-win64-shared/lib/swscale"
],
"copies": [
{
"destination": "<(PRODUCT_DIR)",
"files": [
"ffmpeg/ffmpeg-4.x-win64-shared/bin/avcodec-58.dll",
"ffmpeg/ffmpeg-4.x-win64-shared/bin/avdevice-58.dll",
"ffmpeg/ffmpeg-4.x-win64-shared/bin/avfilter-7.dll",
"ffmpeg/ffmpeg-4.x-win64-shared/bin/avformat-58.dll",
"ffmpeg/ffmpeg-4.x-win64-shared/bin/avutil-56.dll",
"ffmpeg/ffmpeg-4.x-win64-shared/bin/postproc-55.dll",
"ffmpeg/ffmpeg-4.x-win64-shared/bin/swresample-3.dll",
"ffmpeg/ffmpeg-4.x-win64-shared/bin/swscale-5.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/avcodec-59.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/avdevice-59.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/avfilter-8.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/avformat-59.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/avutil-57.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/postproc-56.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/swresample-4.dll",
"ffmpeg/ffmpeg-5.x-win64-shared/bin/swscale-6.dll",
"node_modules/ffmpeg-ffprobe-static/ffmpeg.exe",
"node_modules/ffmpeg-ffprobe-static/ffprobe.exe"
]
}
]
}]
}],
]
}]
}
2 changes: 1 addition & 1 deletion install.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const {execSync} = require('child_process');

if (!process.env.PREBUILD) {
execSync('npx prebuild-install --runtime napi');
execSync('npx prebuild-install --target 4 --runtime napi');
}
Loading
Loading