Skip to content

Commit

Permalink
Build scripts updated for Electron 30
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Antosik committed Aug 2, 2024
1 parent 3393ea6 commit d2e75e9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions lib/bin/node-spellchecker/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

# requires node-gyp (npm install -g node-gyp) plus CLI developper tools.

npx node-gyp rebuild --target=30.1.2 --arch=x64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-linux-30.1.2-x64.node

npx node-gyp rebuild --target=30.1.2 --arch=ia32 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-linux-30.1.2-ia32.node

npx node-gyp rebuild --target=29.4.0 --arch=x64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-linux-29.4.0-x64.node

npx node-gyp rebuild --target=29.4.0 --arch=ia32 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-linux-29.4.0-ia32.node

npx node-gyp rebuild --target=28.2.10 --arch=x64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-linux-28.2.10-x64.node

npx node-gyp rebuild --target=28.2.10 --arch=ia32 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-linux-28.2.10-ia32.node
6 changes: 3 additions & 3 deletions lib/bin/node-spellchecker/build-macos-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# requires node-gyp (npm install -g node-gyp) plus CLI developer tools.

npx node-gyp rebuild --target=30.1.2 --arch=arm64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-macos-30.1.2-arm64.node

npx node-gyp rebuild --target=29.4.0 --arch=arm64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-macos-29.4.0-arm64.node

npx node-gyp rebuild --target=28.2.10 --arch=arm64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-macos-28.2.10-arm64.node
6 changes: 3 additions & 3 deletions lib/bin/node-spellchecker/build-macos-intel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# requires node-gyp (npm install -g node-gyp) plus CLI developper tools.

npx node-gyp rebuild --target=30.1.2 --arch=x64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-macos-30.1.2-x64.node

npx node-gyp rebuild --target=29.4.0 --arch=x64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-macos-29.4.0-x64.node

npx node-gyp rebuild --target=28.2.10 --arch=x64 --dist-url=https://electronjs.org/headers
cp build/Release/spellchecker.node ../spellchecker-macos-28.2.10-x64.node
12 changes: 6 additions & 6 deletions lib/bin/node-spellchecker/build-windows.cmd
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
rem Requires node-gyp (npm install -g node-gyp) plus CLI developper tools.

call npx node-gyp rebuild --target=30.1.2 --arch=x64 --dist-url=https://electronjs.org/headers --python=c:\bin\python27\python.exe
copy build\Release\spellchecker.node ..\spellchecker-win32-30.1.2-x64.node

@REM call npx node-gyp rebuild --target=30.1.2 --arch=ia32 --dist-url=https://electronjs.org/headers --python=c:\bin\python27\python.exe
@REM copy build\Release\spellchecker.node ..\spellchecker-win32-30.1.2-ia32.node

call npx node-gyp rebuild --target=29.4.0 --arch=x64 --dist-url=https://electronjs.org/headers --python=c:\bin\python27\python.exe
copy build\Release\spellchecker.node ..\spellchecker-win32-29.4.0-x64.node

@REM call npx node-gyp rebuild --target=29.4.0 --arch=ia32 --dist-url=https://electronjs.org/headers --python=c:\bin\python27\python.exe
@REM copy build\Release\spellchecker.node ..\spellchecker-win32-29.4.0-ia32.node

call npx node-gyp rebuild --target=28.2.10 --arch=x64 --dist-url=https://electronjs.org/headers --python=c:\bin\python27\python.exe
copy build\Release\spellchecker.node ..\spellchecker-win32-28.2.10-x64.node

@REM call npx node-gyp rebuild --target=28.2.10 --arch=ia32 --dist-url=https://electronjs.org/headers --python=c:\bin\python27\python.exe
@REM copy build\Release\spellchecker.node ..\spellchecker-win32-28.2.10-ia32.node

0 comments on commit d2e75e9

Please sign in to comment.