moltlaunch 2.11.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99,6 +99,10 @@ function getWalletDir() {
|
|
|
99
99
|
return join(homedir(), WALLET_DIR);
|
|
100
100
|
}
|
|
101
101
|
function getWalletPath() {
|
|
102
|
+
const profile2 = process.env.MLTL_WALLET;
|
|
103
|
+
if (profile2) {
|
|
104
|
+
return join(getWalletDir(), `wallet-${profile2}.json`);
|
|
105
|
+
}
|
|
102
106
|
return join(getWalletDir(), WALLET_FILE);
|
|
103
107
|
}
|
|
104
108
|
async function fileExists(path) {
|