finish.nim: user has multiple chances to move .7z file to proper location
This commit is contained in:
parent
9b8150aef1
commit
c8ae7164e5
1 changed files with 3 additions and 0 deletions
|
|
@ -209,6 +209,9 @@ proc main() =
|
||||||
of Manual:
|
of Manual:
|
||||||
echo "After download, move it to: ", dest
|
echo "After download, move it to: ", dest
|
||||||
if askBool("Download successful? (y/n) "):
|
if askBool("Download successful? (y/n) "):
|
||||||
|
while not fileExists("dist" / mingw):
|
||||||
|
echo "could not find: ", "dist" / mingw
|
||||||
|
if not askBool("Try again? (y/n) "): break
|
||||||
if unzip(): retry = true
|
if unzip(): retry = true
|
||||||
of Failure: discard
|
of Failure: discard
|
||||||
of Success:
|
of Success:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue