mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Replaced part of Legacy code with EULAController
This commit is contained in:
parent
975c2f5b83
commit
44ad5cc34d
|
@ -12,14 +12,17 @@ import Defs.ActionManager.main_runner as main_runner
|
||||||
import Defs.ActionManager.Server.server_runner as server_runner
|
import Defs.ActionManager.Server.server_runner as server_runner
|
||||||
import Defs.ActionManager.simple_informant as simple_informant
|
import Defs.ActionManager.simple_informant as simple_informant
|
||||||
import Defs.FeatureManager.feature_prompt as prompt
|
import Defs.FeatureManager.feature_prompt as prompt
|
||||||
|
from controllers.EULA_controller import EULAController
|
||||||
|
|
||||||
# simple_informant.license_handler()
|
# simple_informant.license_handler()
|
||||||
# agreement = simple_informant.terms_of_service_message()
|
# agreement = simple_informant.terms_of_service_message()
|
||||||
# if not agreement:
|
# if not agreement:
|
||||||
# exit()
|
# exit()
|
||||||
# TODO replace everything above
|
# TODO replace everything above
|
||||||
|
if EULAController().check_eula_existence() is False:
|
||||||
|
EULAController().generate_new_eula()
|
||||||
|
if EULAController().check_eula_confirmation() is False:
|
||||||
|
exit()
|
||||||
# FIXME new code above
|
# FIXME new code above
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user