neutralinojs/neutralinojs-cli

App directory containing incomplete files after an unsuccessful neu create

Ayman161803 opened this issue · 4 comments

Problem

An unsuccessful attempt to create a Neutralinojs project leaves behind a project directory containing incomplete files. The user will have to delete this project directory and only then run neu create <appname> to create a project with the same name again. Refer #123

Possible fix

Delete the project directory when neu create is unsuccessful. This can be done by adding fs.rmdirSync(`../${binaryName}`, { recursive: true }); here

@shalithasuranga Hi!
Can I work on this issue? I am new to open source.

Sure, go ahead. Easy fix, it is.

@pathange-s please review (#168)