We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TAURI_SIGNTOOL_PATH
1 parent fedf93e commit f8d658eCopy full SHA for f8d658e
.changes/cli-signtool-path.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri-bundler": patch:feat
3
4
+
5
+`TAURI_SIGNTOOL_PATH` environment variable for specifying the path to signtool.exe.
tooling/bundler/src/bundle/windows/sign.rs
@@ -59,6 +59,10 @@ fn signtool() -> Option<PathBuf> {
59
static SIGN_TOOL: OnceLock<crate::Result<PathBuf>> = OnceLock::new();
60
SIGN_TOOL
61
.get_or_init(|| {
62
+ if let Some(signtool) = std::env::var_os("TAURI_SIGNTOOL_PATH") {
63
+ return Ok(PathBuf::from(signtool));
64
+ }
65
66
const INSTALLED_ROOTS_REGKEY_PATH: &str = r"SOFTWARE\Microsoft\Windows Kits\Installed Roots";
67
const KITS_ROOT_REGVALUE_NAME: &str = r"KitsRoot10";
68
0 commit comments