From 39b2e49edb5c178b326af41b041adf87830a1542 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 12 Nov 2020 22:37:10 -0800 Subject: [PATCH] Add EULA to Windows interactive installer Reference: https://www.electron.build/configuration/nsis#NsisOptions-license --- electron/build/resources/eula.txt | 5 +++++ electron/build/template-package.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 electron/build/resources/eula.txt diff --git a/electron/build/resources/eula.txt b/electron/build/resources/eula.txt new file mode 100644 index 00000000..f95f97c1 --- /dev/null +++ b/electron/build/resources/eula.txt @@ -0,0 +1,5 @@ +Terms of Service + +By downloading the software from this page, you agree to the specified terms. + +The Arduino software is provided to you "as is" and we make no express or implied warranties whatsoever with respect to its functionality, operability, or use, including, without limitation, any implied warranties of merchantability, fitness for a particular purpose, or infringement. We expressly disclaim any liability whatsoever for any direct, indirect, consequential, incidental or special damages, including, without limitation, lost revenues, lost profits, losses resulting from business interruption or loss of data, regardless of the form of action or legal theory under which the liability may be asserted, even if advised of the possibility or likelihood of such damages. diff --git a/electron/build/template-package.json b/electron/build/template-package.json index 4f0a8a12..04af71f7 100644 --- a/electron/build/template-package.json +++ b/electron/build/template-package.json @@ -105,7 +105,8 @@ "uninstallerIcon": "resources/icon.ico", "installerSidebar": "resources/installerSidebar.bmp", "uninstallerSidebar": "resources/installerSidebar.bmp", - "allowToChangeInstallationDirectory": true + "allowToChangeInstallationDirectory": true, + "license": "resources/eula.txt" }, "dmg": { "icon": "resources/icon.icns",