chore: add check and install for dotnet8 on preinstall
This commit is contained in:
12
src-tauri/nsis/nsis-hooks.nsh
Normal file
12
src-tauri/nsis/nsis-hooks.nsh
Normal file
@@ -0,0 +1,12 @@
|
||||
!incluide "dotnet.nsh"
|
||||
|
||||
!macro NSIS_HOOK_PREINSTALL
|
||||
!insertmacro CheckDotNetCore 8.0
|
||||
!macroend
|
||||
|
||||
!macro NSIS_HOOK_POSTINSTALL
|
||||
${If} $PassiveMode = 1
|
||||
${OrIf} ${Silent}
|
||||
Exec '"$INSTDIR\${MAINBINARYNAME}.exe"'
|
||||
${EndIf}
|
||||
!macroend
|
Reference in New Issue
Block a user