mirror of
https://github.com/NewFuture/DDNS.git
synced 2022-04-19 20:24:44 +00:00
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user