Skip to content

Commit

Permalink
fix(windows): currectly include openssl dll files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Nijhuis committed Dec 22, 2023
1 parent 3ed9989 commit efeb7d6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
choco install openssl
mkdir -p "C:\Program Files\OpenSSL\ca"
curl -o "C:\Program Files\OpenSSL\ca\cacert.pem" https://curl.se/ca/cacert.pem
copy "C:\Program Files\OpenSSL\bin\libcrypto-3-x64.dll" .\src-tauri\resources
copy "C:\Program Files\OpenSSL\bin\libssl-3-x64.dll" .\src-tauri\resources
copy "C:\Program Files\OpenSSL\bin\libcrypto-3-x64.dll" .\src-tauri
copy "C:\Program Files\OpenSSL\bin\libssl-3-x64.dll" .\src-tauri
- name: Build Vite + Tauri (MacOS + Linux)
if: matrix.platform != 'windows-latest'
Expand Down
Empty file removed src-tauri/resources/.gitkeep
Empty file.
3 changes: 0 additions & 3 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": [
"resources/*"
]
},
"windows": [
Expand Down
10 changes: 10 additions & 0 deletions src-tauri/tauri.windows.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"tauri": {
"bundle": {
"resources": [
"libcrypto-3-x64.dll",
"libssl-3-x64.dll"
]
}
}
}

0 comments on commit efeb7d6

Please sign in to comment.