mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
.
This commit is contained in:
@@ -30,15 +30,16 @@ class Install:
|
|||||||
|
|
||||||
self.set_configuration()
|
self.set_configuration()
|
||||||
|
|
||||||
|
if not self.check_python_version():
|
||||||
|
# Tester si c'est la bonne version de python
|
||||||
|
exit("Python Version Error")
|
||||||
|
else:
|
||||||
|
|
||||||
if self.skip_install:
|
if self.skip_install:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
self.Logs.debug(f'Configuration loaded : {self.config}')
|
self.Logs.debug(f'Configuration loaded : {self.config}')
|
||||||
|
|
||||||
if not self.check_python_version():
|
|
||||||
# Tester si c'est la bonne version de python
|
|
||||||
exit("Python Version Error")
|
|
||||||
else:
|
|
||||||
# Sinon tester les dependances python et les installer avec pip
|
# Sinon tester les dependances python et les installer avec pip
|
||||||
if self.do_install():
|
if self.do_install():
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user