You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, I need to run some custom scripts after building the installer application ({appname}-setup.exe) and before generating the update package(such as setup.nsis.zip or setup.nsis.zip.sign).
This is because I need to manually sign the {appname}-setup.exe file, and without this afterBundleCommand hook, I won't be able to complete this before generating the update package.
Describe the solution you'd like
Can you provide a hook "afterBundleCommand" to execute after the installer application is generated?
Alternatively, are there any alternative solutions?
Thanks alot!
Additional context
No response
The text was updated successfully, but these errors were encountered:
muwoo
changed the title
Can provide an "afterBundleCommand" hook function? [feat]
[feat] Can provide an "afterBundleCommand" hook function?
May 13, 2024
I configured it correctly, and I see that tauri will sign the packaged exe application, but I still need to sign the generated NSIS setup.exe installation package.
But I'm not sure if Tauri will continue to sign this setup.exe. If it can be signed, then I don't need this requirement, if not, then I want to be able to customize the script to continue signing setup.exe after the bundle produces setup.exe.
It does sign the -setup.exe file, can you show the ouput of tauiri build --verbose
I know, thank you very much for your reply, but I still wish Tauri could add more hooks to the build process, similar to Electron, so the developer's freedom would be much better.
For example, in electron-builder, we can set these hooks:
Describe the problem
Sometimes, I need to run some custom scripts after building the installer application (
{appname}-setup.exe
) and before generating the update package(such assetup.nsis.zip
orsetup.nsis.zip.sign
).This is because I need to manually sign the
{appname}-setup.exe
file, and without thisafterBundleCommand
hook, I won't be able to complete this before generating the update package.Describe the solution you'd like
Can you provide a hook "afterBundleCommand" to execute after the installer application is generated?
Alternatively, are there any alternative solutions?
Thanks alot!
Additional context
No response
The text was updated successfully, but these errors were encountered: