diff options
| -rw-r--r-- | dist-assets/installer.nsh | 13 | ||||
| -rw-r--r-- | electron-builder.yml | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dist-assets/installer.nsh b/dist-assets/installer.nsh new file mode 100644 index 0000000000..48973099c2 --- /dev/null +++ b/dist-assets/installer.nsh @@ -0,0 +1,13 @@ +!macro preInit + ; This macro is inserted at the beginning of the NSIS .OnInit callback + ; It is activated both at compile-time and runtime + Messagebox MB_OK "preInit" +!macroend + +!macro customInstall + ; This macro is activated towards the end of the installation + ; after all files are copied, shortcuts created, etc + Messagebox MB_OK "customInstall" +!macroend + +
\ No newline at end of file diff --git a/electron-builder.yml b/electron-builder.yml index 08f0e79d4b..060835b7a0 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -54,6 +54,7 @@ nsis: perMachine: true allowElevation: true allowToChangeInstallationDirectory: true + include: dist-assets/installer.nsh win: target: |
