Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: embed webview2 bootstrapper in tauri windows

Minh141120022048f5772c
diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.json
index 838fa80b0..023c2a567 100644
--- a/src-tauri/tauri.windows.conf.json
+++ b/src-tauri/tauri.windows.conf.json
@@ -4,7 +4,11 @@
"resources": ["resources/pre-install/**/*"],
"externalBin": ["resources/bin/bun", "resources/bin/uv"],
"windows": {
- "signCommand": "powershell -ExecutionPolicy Bypass -File ./sign.ps1 %1"
+ "signCommand": "powershell -ExecutionPolicy Bypass -File ./sign.ps1 %1",
+ "webviewInstallMode": {
+ "silent": true,
+ "type": "downloadBootstrapper"
+ }
}
}
}