Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move EXE credential generation to a Python script #1260

Merged

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Aug 17, 2020

Creating the EXE credential in an external script using a template makes
the NSIS script generation easier to read, maintain and customize.

Checklist:

The creator scripts do not have to be shell scripts so they are renamed
to keep them consistent with scripts using other languages like Python.
Creating the EXE credential in an external script using a template makes
the NSIS script generation easier to read, maintain and customize.
@timopollmeier timopollmeier marked this pull request as ready for review August 17, 2020 15:14
@mattmundell mattmundell merged commit 5b32b80 into greenbone:master Aug 17, 2020
nsis_script_file.write(nsis_script)

run = subprocess.run(["makensis", nsis_script_path])
sys,exit(run.returncode)
Copy link
Contributor

Choose a reason for hiding this comment

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

There is typo. Needs to be sys.exit

Copy link
Contributor

Choose a reason for hiding this comment

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

And the code should be put into a function that gets called instead

Copy link
Member Author

Choose a reason for hiding this comment

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

These should be fixed in #1262

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