mirror of
https://github.com/torproject/torbrowser-launcher.git
synced 2024-10-06 23:23:22 +00:00
Merge branch 'deskos-xp-develop' into develop
This commit is contained in:
commit
db2e3c9a34
@ -411,9 +411,9 @@ class Launcher(QtWidgets.QMainWindow):
|
||||
|
||||
def check_min_version(self):
|
||||
installed_version = None
|
||||
for line in open(self.common.paths['tbb']['changelog']).readlines():
|
||||
if line.startswith('Tor Browser '):
|
||||
installed_version = line.split()[2]
|
||||
for line in open(self.common.paths['tbb']['changelog'],'rb').readlines():
|
||||
if line.startswith(b'Tor Browser '):
|
||||
installed_version = line.split()[2].decode()
|
||||
break
|
||||
|
||||
if self.min_version <= installed_version:
|
||||
|
Loading…
Reference in New Issue
Block a user