@xaidenlabs/uso 1.1.24 → 1.1.25
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/README.md +1 -0
- package/package.json +1 -1
- package/src/platforms/windows.js +5 -0
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@ npm install -g @xaidenlabs/uso
|
|
|
17
17
|
**Prerequisites:**
|
|
18
18
|
- **Node.js**: Ensure Node.js is installed on your system.
|
|
19
19
|
- **Administrator Privileges**: Some installation steps (successfully creating symlinks, updating system PATH) may require elevated permissions.
|
|
20
|
+
- **Windows Security / Smart App Control**: If installation is blocked, check **Windows Security > Virus & threat protection > Protection history**. You may need to "Allow" the `solana-install.exe` or `rustup-init.exe` or temporarily disable Smart App Control.
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
package/package.json
CHANGED
package/src/platforms/windows.js
CHANGED
|
@@ -6,6 +6,11 @@ const os = require('os');
|
|
|
6
6
|
|
|
7
7
|
const installWindows = async (shouldInstallRust, shouldInstallSolana) => {
|
|
8
8
|
log.header("🪟 Windows detected.");
|
|
9
|
+
log.warn("⚠️ IMPORTANT WINDOWS PREREQUISITES:");
|
|
10
|
+
log.warn("1. If the installer is blocked, check 'Windows Security > Virus & threat protection > Protection history'.");
|
|
11
|
+
log.warn(" You may need to manually 'Allow' the blocked app or disable 'Smart App Control' temporarily.");
|
|
12
|
+
log.warn("2. Ensure 'Desktop development with C++' is installed via Visual Studio Build Tools.");
|
|
13
|
+
log.warn("3. Run this command from the 'Developer Command Prompt for VS 2022' to avoid Rust errors.");
|
|
9
14
|
|
|
10
15
|
// 1. Check for C++ Build Tools (Robust)
|
|
11
16
|
// Rust needs C++, Anchor needs Rust.
|