Last active
February 28, 2022 03:56
-
-
Save joseabraham/7806852aa06cb15cf833015017dfe856 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const downloadMetamaskLocally = async (): Promise<string> => { | |
try { | |
let metamaskPath = await download({ | |
metamaskVersion: "v10.1.1", | |
metamaskLocation: './home/browserless' | |
}); | |
return metamaskPath; | |
} catch (e) { | |
console.log("ERROR DOWNLOADING METAMASK", e); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment