mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-24 04:03:52 +03:00
refactor: rename TAURI_SIGNTOOL_PATH
-> TAURI_WINDOWS_SIGNTOOL_PATH
(#10595)
immediately after merging #10588 I noticed that the variable name might be a bit ambigious and could cause confusion on other pl atforms other than Windows
This commit is contained in:
parent
78e22bedca
commit
39bf0a1635
@ -2,4 +2,4 @@
|
||||
"tauri-bundler": patch:feat
|
||||
---
|
||||
|
||||
`TAURI_SIGNTOOL_PATH` environment variable for specifying the path to signtool.exe.
|
||||
`TAURI_WINDOWS_SIGNTOOL_PATH` environment variable for specifying the path to signtool.exe.
|
||||
|
@ -59,7 +59,7 @@ fn signtool() -> Option<PathBuf> {
|
||||
static SIGN_TOOL: OnceLock<crate::Result<PathBuf>> = OnceLock::new();
|
||||
SIGN_TOOL
|
||||
.get_or_init(|| {
|
||||
if let Some(signtool) = std::env::var_os("TAURI_SIGNTOOL_PATH") {
|
||||
if let Some(signtool) = std::env::var_os("TAURI_WINDOWS_SIGNTOOL_PATH") {
|
||||
return Ok(PathBuf::from(signtool));
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@ These environment variables are inputs to the CLI which may have an equivalent C
|
||||
- `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` — The signing private key password, see `TAURI_SIGNING_PRIVATE_KEY`.
|
||||
- `TAURI_SIGNING_RPM_KEY` — The private GPG key used to sign the RPM bundle, exported to its ASCII-armored format.
|
||||
- `TAURI_SIGNING_RPM_KEY_PASSPHRASE` — The GPG key passphrase for `TAURI_SIGNING_RPM_KEY`, if needed.
|
||||
- `TAURI_WINDOWS_SIGNTOOL_PATH` — Specify a path to `signtool.exe` used for code signing the application on Windows.
|
||||
- `APPLE_CERTIFICATE` — Base64 encoded of the `.p12` certificate for code signing. To get this value, run `openssl base64 -in MyCertificate.p12 -out MyCertificate-base64.txt`.
|
||||
- `APPLE_CERTIFICATE_PASSWORD` — The password you used to export the certificate.
|
||||
- `APPLE_ID` — The Apple ID used to notarize the application. If this environment variable is provided, `APPLE_PASSWORD` and `APPLE_TEAM_ID` must also be set. Alternatively, `APPLE_API_KEY` and `APPLE_API_ISSUER` can be used to authenticate.
|
||||
|
Loading…
Reference in New Issue
Block a user