Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

3 changed files:

Changes:

  • projects/browser/windows-installer/add-strings.py
    ... ... @@ -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}",),
    

  • projects/browser/windows-installer/common.nsh
    ... ... @@ -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
    

  • projects/browser/windows-installer/languages.nsh
    ... ... @@ -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