diff --git a/src/flask/install.ts b/src/flask/install.ts index 1748915..efa88df 100644 --- a/src/flask/install.ts +++ b/src/flask/install.ts @@ -27,8 +27,8 @@ export async function metamaskFlask( const asset: Asset = findGithubAsset(assetName, release); createDirectory(directory); const fileName: string = await downloadAssetZipFile(asset, directory); - extractZipContents(fileName); - logSuccess('Installed MetaMask Flask.'); + const destDir: string = extractZipContents(fileName); + logSuccess(`Installed MetaMask Flask version \n${destDir}`); } catch (error: any) { logError(error.message); } diff --git a/src/metamask/install.ts b/src/metamask/install.ts index e495be3..33ffc7d 100644 --- a/src/metamask/install.ts +++ b/src/metamask/install.ts @@ -24,8 +24,8 @@ export async function metamask(directory: string, version: string = DEFAULT_META const asset: Asset = findGithubAsset(assetName, release); createDirectory(directory); const fileName: string = await downloadAssetZipFile(asset, directory); - extractZipContents(fileName); - logSuccess('Installed MetaMask.'); + const destDir: string = extractZipContents(fileName); + logSuccess(`Installed MetaMask version \n${destDir}`); } catch (error: any) { logError(error.message); } diff --git a/src/rainbow/install.ts b/src/rainbow/install.ts index cec11c0..35f8c2e 100644 --- a/src/rainbow/install.ts +++ b/src/rainbow/install.ts @@ -24,8 +24,8 @@ export async function rainbow(directory: string, version: string = DEFAULT_RAINB const artifact: Artifact = await fetchGithubArtifact(version, run, RAINBOW_GITHUB_API); createDirectory(directory); const fileName: string = await downloadArtifactZipFile(artifact, directory); - extractZipContents(fileName); - logSuccess('Installed Rainbow.'); + const destDir: string = extractZipContents(fileName); + logSuccess(`Installed Rainbow version \n${destDir}`); } catch (error: any) { logError(error.message); } diff --git a/src/zerion/install.ts b/src/zerion/install.ts index 77b7156..12ebfa7 100644 --- a/src/zerion/install.ts +++ b/src/zerion/install.ts @@ -25,9 +25,9 @@ export async function zerion(directory: string, version: string = DEFAULT_ZERION const asset: Asset = findGithubAsset(assetName, release); createDirectory(directory); const fileName: string = await downloadAssetZipFile(asset, directory); - const destDir = extractZipContents(fileName); + const destDir: string = extractZipContents(fileName); moveFiles(destDir); - logSuccess('Installed Zerion.'); + logSuccess(`Installed Zerion version \n${destDir}`); } catch (error: any) { logError(error.message); }