Skip to content

Commit

Permalink
Merge pull request #172 from agracio/nan
Browse files Browse the repository at this point in the history
merge nan patch changes
  • Loading branch information
agracio authored Dec 13, 2024
2 parents a705875 + 39650f1 commit 5780f26
Show file tree
Hide file tree
Showing 5 changed files with 621 additions and 43 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 5780f26

Please sign in to comment.