Skip to content

Commit

Permalink
fix: copy libssl dll on windows, use openssl v3
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeJerred committed Apr 4, 2024
1 parent ea8e4c5 commit fc42a50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Setup (windows)
if: matrix.os == 'windows-latest'
run: |
choco install openssl -y --no-progress
choco install openssl --version 3.2.1 -y --no-progress
echo "npm_config_msvs_version=2022" >> $env:GITHUB_ENV
echo "npm_config_openssl_dir=C:\Program Files\OpenSSL" >> $env:GITHUB_ENV
Expand Down
5 changes: 4 additions & 1 deletion generate/templates/templates/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@
],
"copies": [{
"destination": "<(module_root_dir)/build/Release/",
"files": ["<(electron_openssl_root)/bin/libcrypto-3-x64.dll"]
"files": [
"<(electron_openssl_root)/bin/libcrypto-3-x64.dll",
"<(electron_openssl_root)/bin/libssl-3-x64.dll",
]
}]
}]
],
Expand Down

0 comments on commit fc42a50

Please sign in to comment.