Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
- 
dfac6c0a
by Pier Angelo Vendrame at 2024-07-31T08:50:18+02:00
3 changed files:
- projects/browser/windows-installer/add-strings.py
- projects/browser/windows-installer/common.nsh
- projects/browser/windows-installer/languages.nsh
Changes:
| ... | ... | @@ -73,7 +73,7 @@ languages = { | 
| 73 | 73 |  replacements = {
 | 
| 74 | 74 |      "min_windows_version": {
 | 
| 75 | 75 |          "program": "${PROJECT_NAME}",
 | 
| 76 | -        "version": "7",
 | |
| 76 | +        "version": "10",
 | |
| 77 | 77 |      },
 | 
| 78 | 78 |      "welcome_title": ("${DISPLAY_NAME}",),
 | 
| 79 | 79 |      "mb_intro": ("${PROJECT_NAME}",),
 | 
| ... | ... | @@ -61,7 +61,7 @@ | 
| 61 | 61 |  ;--------------------------------
 | 
| 62 | 62 |  ; Helper functions
 | 
| 63 | 63 |  Function CheckRequirements
 | 
| 64 | -  ${IfNot} ${AtLeastWin7}
 | |
| 64 | +  ${IfNot} ${AtLeastWin10}
 | |
| 65 | 65 |      MessageBox MB_USERICON|MB_OK "$(min_windows_version)"
 | 
| 66 | 66 |      SetErrorLevel 1
 | 
| 67 | 67 |      Quit
 | 
| ... | ... | @@ -6,7 +6,8 @@ | 
| 6 | 6 |    LangString add_shortcuts ${LANG_ENGLISH} "&Add Start menu and desktop icons"
 | 
| 7 | 7 |    ; Use %(program)s instead of ${PROJECT_NAME}  and %(version)s instead of 7
 | 
| 8 | 8 |    ; when sending the string from localization.
 | 
| 9 | -  LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 7 or later."
 | |
| 9 | +  ; Remember to update also add-strings.py when bumping the Windows version.
 | |
| 10 | +  LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 10 or later."
 | |
| 10 | 11 |    LangString destination_exists ${LANG_ENGLISH} "The destination folder already exists. Do you want to continue anyway?"
 | 
| 11 | 12 | |
| 12 | 13 |    ; Mullvad Browser strings
 |