[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #26355 [Applications/Tor Browser]: Make sure only Windows users on Windows7+ are trying to use Tor Browser based on ESR60
#26355: Make sure only Windows users on Windows7+ are trying to use Tor Browser
based on ESR60
--------------------------------------------+--------------------------
Reporter: gk | Owner: tbb-team
Type: enhancement | Status: new
Priority: High | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: ff60-esr, TorBrowserTeam201806 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------------+--------------------------
Comment (by boklm):
For a), it seems we could use the `minSupportedOSVersion` attribute that
was added in #13047.
I see that the updater is checking `minSupportedOSVersion` like this:
{{{
if (update.hasAttribute("unsupported")) {
this.unsupported = ("true" == update.getAttribute("unsupported"));
} else if (update.hasAttribute("minSupportedOSVersion")) {
let minOSVersion = update.getAttribute("minSupportedOSVersion");
try {
let osVersion = Services.sysinfo.getProperty("version");
this.unsupported = (Services.vc.compare(osVersion, minOSVersion) <
0);
} catch (e) {}
}
}}}
So we need to find what is the value of
`Services.sysinfo.getProperty("version")` on Windows 7.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26355#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs