Skip to content

Commit

Permalink
test installing fixed version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sindrir committed Dec 17, 2024
1 parent d19f61b commit 32f6d68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ jobs:
echo "'${{ github.ref_name }}' is not a valid version - using default. Must be a numerical only semver version."
fi
- name: Supply webview2
if: ${{ matrix.windows }}
run: |
curl -L https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/023aa9c1-c16d-4b52-a1dd-55f125aa3061/Microsoft.WebView2.FixedVersionRuntime.131.0.2903.99.x86.cab -o .
cabextract Microsoft.WebView2.FixedVersionRuntime.131.0.2903.99.x86.cab --directory=./src-tauri/
rm Microsoft.WebView2.FixedVersionRuntime.131.0.2903.99.x86.cab
- name: Tauri build
uses: tauri-apps/tauri-action@v0
env:
Expand Down
3 changes: 2 additions & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"targets": "all",
"windows": {
"webviewInstallMode": {
"type": "skip"
"type": "fixedRuntime",
"path": "./Microsoft.WebView2.FixedVersionRuntime.131.0.2903.99.x86/"
}
},
"shortDescription": "Filflytting og registrering fra skannermaskiner",
Expand Down

0 comments on commit 32f6d68

Please sign in to comment.