cargo-tauri: hook fix darwin builds and add dontTauriFixup documentation (#485921)
This commit is contained in:
@@ -79,6 +79,10 @@ The [bundle type](https://tauri.app/v1/guides/building/) to build.
|
||||
|
||||
Disables using `tauriBuildHook`.
|
||||
|
||||
#### `dontTauriFixup` {#dont-tauri-fixup}
|
||||
|
||||
Disables the `tauriFixupHook` pre fixup phase.
|
||||
|
||||
#### `dontTauriInstall` {#dont-tauri-install}
|
||||
|
||||
Disables using `tauriInstallPostBuildHook` and `tauriInstallHook`.
|
||||
|
||||
@@ -2671,6 +2671,9 @@
|
||||
"dont-tauri-build": [
|
||||
"index.html#dont-tauri-build"
|
||||
],
|
||||
"dont-tauri-fixup": [
|
||||
"index.html#dont-tauri-fixup"
|
||||
],
|
||||
"dont-tauri-install": [
|
||||
"index.html#dont-tauri-install"
|
||||
],
|
||||
|
||||
@@ -93,6 +93,8 @@ tauriInstallHook() {
|
||||
}
|
||||
|
||||
tauriFixupHook() {
|
||||
echo "Executing tauriFixupHook"
|
||||
|
||||
# NOTE: This runs as a preFixupPhase and does not replace the original hook.
|
||||
@fixupScript@
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user