[tbb-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41201: Require Windows 10 or later in the installer.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Wed Jul 31 08:34:44 UTC 2024



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
Bug 41201: Require Windows 10 or later in the installer.

Firefox 128 is not compatible with Windows 7, 8, and 8.1 anymore, so we
should notify the users before they start installing it.

- - - - -


3 changed files:

- projects/browser/windows-installer/add-strings.py
- projects/browser/windows-installer/common.nsh
- projects/browser/windows-installer/languages.nsh


Changes:

=====================================
projects/browser/windows-installer/add-strings.py
=====================================
@@ -73,7 +73,7 @@ languages = {
 replacements = {
     "min_windows_version": {
         "program": "${PROJECT_NAME}",
-        "version": "7",
+        "version": "10",
     },
     "welcome_title": ("${DISPLAY_NAME}",),
     "mb_intro": ("${PROJECT_NAME}",),


=====================================
projects/browser/windows-installer/common.nsh
=====================================
@@ -61,7 +61,7 @@
 ;--------------------------------
 ; Helper functions
 Function CheckRequirements
-  ${IfNot} ${AtLeastWin7}
+  ${IfNot} ${AtLeastWin10}
     MessageBox MB_USERICON|MB_OK "$(min_windows_version)"
     SetErrorLevel 1
     Quit


=====================================
projects/browser/windows-installer/languages.nsh
=====================================
@@ -6,7 +6,8 @@
   LangString add_shortcuts ${LANG_ENGLISH} "&Add Start menu and desktop icons"
   ; Use %(program)s instead of ${PROJECT_NAME}  and %(version)s instead of 7
   ; when sending the string from localization.
-  LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 7 or later."
+  ; Remember to update also add-strings.py when bumping the Windows version.
+  LangString min_windows_version ${LANG_ENGLISH} "${PROJECT_NAME} requires Windows 10 or later."
   LangString destination_exists ${LANG_ENGLISH} "The destination folder already exists. Do you want to continue anyway?"
 
   ; Mullvad Browser strings



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/dfac6c0a2a1c2df561d5a2482d29c95e7f1712e5

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/dfac6c0a2a1c2df561d5a2482d29c95e7f1712e5
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240731/793e00f9/attachment-0001.htm>


More information about the tbb-commits mailing list