@xaidenlabs/uso 1.1.72 → 1.1.73
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/package.json +1 -1
- package/src/utils/wallet.js +3 -5
package/package.json
CHANGED
package/src/utils/wallet.js
CHANGED
|
@@ -84,13 +84,11 @@ const ensureWalletInteractive = async () => {
|
|
|
84
84
|
try {
|
|
85
85
|
if (stealth.enabled) {
|
|
86
86
|
// Create wallet inside WSL
|
|
87
|
-
const mkdirCmd = "mkdir -p $HOME/.config/solana";
|
|
88
|
-
runWsl(mkdirCmd, { distro: stealth.distro });
|
|
89
|
-
|
|
90
|
-
// Run solana-keygen inside WSL with interactive mode
|
|
91
87
|
const { spawnSync } = require("child_process");
|
|
88
|
+
|
|
89
|
+
// Use a login shell (-l) to load full environment, then create wallet
|
|
92
90
|
const wslCmd = `mkdir -p "$HOME/.config/solana" && solana-keygen new --outfile "$HOME/.config/solana/id.json"`;
|
|
93
|
-
const result = spawnSync("wsl", ["-d", stealth.distro, "-e", "bash", "-c", wslCmd], { stdio: "inherit" });
|
|
91
|
+
const result = spawnSync("wsl", ["-d", stealth.distro, "-e", "bash", "-l", "-c", wslCmd], { stdio: "inherit" });
|
|
94
92
|
|
|
95
93
|
// Verify wallet was created in WSL
|
|
96
94
|
const verifyCmd = runWsl(
|