mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
V5.2.5
This commit is contained in:
@@ -80,6 +80,11 @@ class Install:
|
||||
self.skip_install = True
|
||||
else:
|
||||
if self.is_root():
|
||||
print(f'/!\\ I fully not recommend running Defender as root /!\\')
|
||||
self.skip_install = True
|
||||
# Check if configuration.json exist
|
||||
if not os.path.exists({os.path.join(self.config.defender_install_folder, 'core', 'configuration.json')}):
|
||||
print(f'/!\\ configuration.json is not available, please create it first /!\\')
|
||||
self.skip_install = True
|
||||
|
||||
def is_root(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user