Skip to content

Commit

Permalink
feat: add installer warning
Browse files Browse the repository at this point in the history
Refs: #62

Signed-off-by: julianbollig <julian.bollig@tngtech.com>
  • Loading branch information
julianbollig committed Feb 26, 2025
1 parent c694abe commit a716edf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions WebUI/build/build-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"electronLanguages": ["en-US", "zh-CN"]
},
"nsis": {
"script": "custom-nsis-script.nsh",
"license": "build/license.rtf",
"oneClick": false,
"perMachine": false,
Expand Down
5 changes: 5 additions & 0 deletions WebUI/build/custom-nsis-script.nsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
!macro customWarning
MessageBox MB_OK|MB_ICONWARNING "XXX"
!macroend

!define MUI_PAGE_LICENSE_PRE customWarning

0 comments on commit a716edf

Please sign in to comment.