From 3ac4502ffa0a05390f5a618ce6a383167972d0c2 Mon Sep 17 00:00:00 2001 From: ruidajo Date: Mon, 25 Jul 2022 18:04:34 -0500 Subject: [PATCH] Modifying NanoID install. --- src/MiniDocs/NanoID.class.st | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/MiniDocs/NanoID.class.st b/src/MiniDocs/NanoID.class.st index 1d3f21b..03c5279 100644 --- a/src/MiniDocs/NanoID.class.st +++ b/src/MiniDocs/NanoID.class.st @@ -35,8 +35,10 @@ NanoID class >> install [ OSSUnixSubprocess new command: 'nim'; arguments: {'c'. self scriptSourceCode fullName}; - workingDirectory: binaryFileFolder; - runAndWaitOnExitDo: [ :process :outString | ^ binaryFileFolder ] + "workingDirectory: binaryFileFolder;" + runAndWaitOnExitDo: [ :process :outString | + (self scriptSourceCode parent / (self scriptSourceCode) basenameWithoutExtension) moveTo: binaryFileFolder asFileReference. + ^ binaryFileFolder ] ] { #category : #accessing }