瀏覽代碼

UI: Use Next button for GPL license page in windows installer

The GPL is not an EULA and thus it doesn't need to be agreed to.

See also:
https://github.com/HandBrake/HandBrake/pull/1776
https://github.com/videolan/vlc/commit/c07d72146286da935a04be579d6b60bf633cbceb

Closes obsproject/obs-studio#1597
Luke Granger-Brown 6 年之前
父節點
當前提交
0c69f457a1
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      UI/installer/mp-installer.nsi

+ 4 - 0
UI/installer/mp-installer.nsi

@@ -42,6 +42,10 @@ RequestExecutionLevel admin
 !define MUI_FINISHPAGE_RUN_TEXT "Launch OBS Studio ${SHORTVERSION}"
 !define MUI_FINISHPAGE_RUN_FUNCTION "LaunchOBS"
 
+; GPL is not an EULA, no need to agree to it.
+!define MUI_LICENSEPAGE_BUTTON $(^NextBtn)
+!define MUI_LICENSEPAGE_TEXT_BOTTOM "You are now aware of your rights. Click Next to continue."
+
 !define MUI_PAGE_CUSTOMFUNCTION_LEAVE PreReqCheck
 
 !insertmacro MUI_PAGE_WELCOME