Skip to content

Commit

Permalink
updating nan patch
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Dec 13, 2024
1 parent 520b544 commit 00df897
Show file tree
Hide file tree
Showing 5 changed files with 622 additions and 44 deletions.
4 changes: 4 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ runs:
(Get-Content -Raw build/edge_nativeclr.vcxproj) -replace 'std:c\+\+17', 'std:c++20' | Out-File -Encoding Utf8 build/edge_nativeclr.vcxproj
}
if ( '${{ inputs.electron }}' -ge 33){
(Get-Content -Raw node_modules/nan/nan.h) -replace '#include \"nan_scriptorigin.h\"', '// #include \"nan_scriptorigin.h\"' | Out-File -Encoding Utf8 node_modules/nan/nan.h
}
node-gyp build
cmd /c copy /y build\Release\edge_*.node release\${{ inputs.arch }}\${{ inputs.electron }}.0.0
cmd /c rmdir /S /Q build
Loading

0 comments on commit 00df897

Please sign in to comment.