diff --git a/run.py b/run.py index 581e25a..95656e3 100755 --- a/run.py +++ b/run.py @@ -21,9 +21,8 @@ __version__ = "python@none-build" if getattr(sys, 'frozen', False): __version__ = "${BUILD_SOURCEBRANCHNAME}@${BUILD_DATE}" - if os.name != 'nt': - # https://github.com/pyinstaller/pyinstaller/wiki/Recipe-OpenSSL-Certificate - os.environ['SSL_CERT_FILE'] = os.path.join(sys._MEIPASS, 'lib', 'cert.pem') + # https://github.com/pyinstaller/pyinstaller/wiki/Recipe-OpenSSL-Certificate + os.environ['SSL_CERT_FILE'] = os.path.join(sys._MEIPASS, 'lib', 'cert.pem') CACHE_FILE = os.path.join(tempfile.gettempdir(), 'ddns.cache')