mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-19 14:50:24 -04:00
Merge branch 'mig5-523_try_update_check_via_v3_onion' into develop
This commit is contained in:
commit
a5c7a69143
1 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
from PyQt5 import QtCore
|
from PyQt5 import QtCore
|
||||||
import datetime, time, socket, re, platform
|
import datetime, time, socket, re, platform
|
||||||
|
from distutils.version import LooseVersion as Version
|
||||||
|
|
||||||
from onionshare import socks
|
from onionshare import socks
|
||||||
from onionshare.settings import Settings
|
from onionshare.settings import Settings
|
||||||
|
@ -98,6 +99,9 @@ class UpdateChecker(QtCore.QObject):
|
||||||
if force:
|
if force:
|
||||||
path += '?force=1'
|
path += '?force=1'
|
||||||
|
|
||||||
|
if Version(self.onion.tor_version) >= Version('0.3.2.9'):
|
||||||
|
onion_domain = 'lldan5gahapx5k7iafb3s4ikijc4ni7gx5iywdflkba5y2ezyg6sjgyd.onion'
|
||||||
|
else:
|
||||||
onion_domain = 'elx57ue5uyfplgva.onion'
|
onion_domain = 'elx57ue5uyfplgva.onion'
|
||||||
|
|
||||||
common.log('UpdateChecker', 'check', 'loading http://{}{}'.format(onion_domain, path))
|
common.log('UpdateChecker', 'check', 'loading http://{}{}'.format(onion_domain, path))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue