Skip to content

Conversation

@amtzmuuklabs
Copy link
Contributor

No description provided.

Copy link
Contributor

@renan-ua renan-ua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, see my comments

mkcli.py Outdated
if isUbuntu == True:
while 1:
answer = input("Java 1.8 or newer. Do you want to update it? [Y/N]: ");
if ( answer == 'Y' or answer == 'N' or answer == 'y' or answer == 'n'):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm quite positive that if you select n, it will not exit and keep asking y/n over and over

mkcli.py Outdated
# response = request.urlopen(url,data)
file = response.read()
flag = False
def checkRequirements():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comments

  • you repeat the code 3 times for the packages to install.. that's bad.. please reuse and organize them as function. If we keep them as is, that means that if we add 50 packages then this code will be repeated 50 times.. that's completely wrong.
    -Do not place the new code on top of the run function, I see like everything changed and cannot go through the details.
  • I see that the function executes even though it is not a linux based, that could be a very first verification and just skip everything
  • you have no logs, no header, no nothing.
  • add a flag when executing mkcli.py to bypass the verification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants