]> granicus.if.org Git - handbrake/commitdiff
setup: don't require the user to agree to GPL-3 to complete setup.
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>
Mon, 31 Dec 2018 16:22:25 +0000 (16:22 +0000)
committersr55 <sr55.hb@outlook.com>
Tue, 1 Jan 2019 15:15:50 +0000 (15:15 +0000)
As @foone complains on twitter often enough, this should not require
agreement for use since GPL is not an EULA.

The definitions are inspired from the similar NSIS setup file from VLC.

win/CS/HandBrakeWPF/Installer/Installer64.nsi
win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi

index 9cbda7a13c36554c2f0b2a02189c02acc7e72ba0..50b134631e8097ed7027e9b4152cb1e29e2d18c9 100644 (file)
@@ -29,6 +29,9 @@ SetCompressor lzma
 !define MUI_ABORTWARNING\r
 !define MUI_ICON "HandBrakepineapple.ico"\r
 !define MUI_UNICON "HandBrakepineapple.ico"\r
+; GPL is not an EULA, no need to agree to it.\r
+!define MUI_LICENSEPAGE_BUTTON $(^NextBtn)\r
+!define MUI_LICENSEPAGE_TEXT_BOTTOM "You are now aware of your rights. Click Next to continue."\r
 \r
 ; Welcome page\r
 !insertmacro MUI_PAGE_WELCOME\r
index f40b71fecc4d338791e4641f2a13d5aacba5bc9f..b67757a95043aba09cbd52c91eaf241aaed267d5 100644 (file)
@@ -29,6 +29,9 @@ SetCompressor lzma
 !define MUI_ABORTWARNING\r
 !define MUI_ICON "HandBrakepineapple.ico"\r
 !define MUI_UNICON "HandBrakepineapple.ico"\r
+; GPL is not an EULA, no need to agree to it.\r
+!define MUI_LICENSEPAGE_BUTTON $(^NextBtn)\r
+!define MUI_LICENSEPAGE_TEXT_BOTTOM "You are now aware of your rights. Click Next to continue."\r
 \r
 ; Welcome page\r
 !insertmacro MUI_PAGE_WELCOME\r