From 494a8c5c41c09db9546a46e23502eb0d5d060231 Mon Sep 17 00:00:00 2001 From: Linus_tt Date: Sun, 5 May 2024 01:02:20 +0500 Subject: [PATCH] disable ssl --- pg3d-injector.py | 6 ++++++ requirements.txt | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 requirements.txt diff --git a/pg3d-injector.py b/pg3d-injector.py index cb5cbbb..41b0dac 100644 --- a/pg3d-injector.py +++ b/pg3d-injector.py @@ -1,6 +1,12 @@ import subprocess import os +import ssl + +# Disable SSL certificate verification globally +ssl._create_default_https_context = ssl._create_unverified_context + + # pyinstaller fix? env = dict(os.environ) # make a copy of the environment lp_key = 'LD_LIBRARY_PATH' # for GNU/Linux and *BSD. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f4ebd15 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +Pillow +vdf \ No newline at end of file