winload-rust-bin 0.1.7-rc.4 → 0.1.7-rc.5
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 +9 -8
- package/readme.md +21 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "winload-rust-bin",
|
|
3
|
-
"version": "0.1.7-rc.
|
|
3
|
+
"version": "0.1.7-rc.5",
|
|
4
4
|
"description": "Network Load Monitor — nload-like TUI tool for Windows/Linux/macOS (prebuilt Rust binary)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"rust"
|
|
21
21
|
],
|
|
22
22
|
"bin": {
|
|
23
|
-
"winload": "bin.js"
|
|
23
|
+
"winload": "bin.js",
|
|
24
|
+
"win-nload": "bin.js"
|
|
24
25
|
},
|
|
25
26
|
"main": "index.js",
|
|
26
27
|
"files": [
|
|
@@ -29,11 +30,11 @@
|
|
|
29
30
|
"readme.md"
|
|
30
31
|
],
|
|
31
32
|
"optionalDependencies": {
|
|
32
|
-
"winload-rust-bin-win32-x64": "0.1.7-rc.
|
|
33
|
-
"winload-rust-bin-win32-arm64": "0.1.7-rc.
|
|
34
|
-
"winload-rust-bin-linux-x64": "0.1.7-rc.
|
|
35
|
-
"winload-rust-bin-linux-arm64": "0.1.7-rc.
|
|
36
|
-
"winload-rust-bin-darwin-x64": "0.1.7-rc.
|
|
37
|
-
"winload-rust-bin-darwin-arm64": "0.1.7-rc.
|
|
33
|
+
"winload-rust-bin-win32-x64": "0.1.7-rc.5",
|
|
34
|
+
"winload-rust-bin-win32-arm64": "0.1.7-rc.5",
|
|
35
|
+
"winload-rust-bin-linux-x64": "0.1.7-rc.5",
|
|
36
|
+
"winload-rust-bin-linux-arm64": "0.1.7-rc.5",
|
|
37
|
+
"winload-rust-bin-darwin-x64": "0.1.7-rc.5",
|
|
38
|
+
"winload-rust-bin-darwin-arm64": "0.1.7-rc.5"
|
|
38
39
|
}
|
|
39
40
|
}
|
package/readme.md
CHANGED
|
@@ -51,30 +51,48 @@ https://github.com/rolandriegel/nload
|
|
|
51
51
|
### Python (pip)
|
|
52
52
|
```bash
|
|
53
53
|
pip install winload
|
|
54
|
+
# recommend use uv:
|
|
55
|
+
# https://docs.astral.sh/uv/getting-started/installation/
|
|
56
|
+
# https://gitee.com/wangnov/uv-custom/releases
|
|
57
|
+
uv venv
|
|
58
|
+
uv pip install winload
|
|
59
|
+
uv run winload
|
|
60
|
+
uv run python -c "import shutil; print(shutil.which('winload'))"
|
|
54
61
|
```
|
|
55
62
|
|
|
56
63
|
## 📥 Rust Edition Installation (recommended)
|
|
57
64
|
### npm (cross-platform)
|
|
58
65
|
```bash
|
|
59
66
|
npm install -g winload-rust-bin
|
|
67
|
+
npm list -g winload-rust-bin
|
|
68
|
+
# on Windows, use win-nload to avoid conflict with System32\winload.exe
|
|
69
|
+
# on Linux/macOS, both winload and win-nload work
|
|
60
70
|
# or use npx directly
|
|
61
71
|
npx winload-rust-bin
|
|
62
72
|
```
|
|
73
|
+
> ⚠️ This package will be migrated to `@vincentzyuapps/winload` in a future version for [GitHub Packages](https://github.com/features/packages) compatibility.
|
|
74
|
+
|
|
63
75
|
> Includes 6 precompiled binaries for x86_64 & ARM64 across Windows, Linux, and macOS.
|
|
64
76
|
|
|
65
77
|
### Cargo (Build from source)
|
|
66
78
|
```bash
|
|
67
79
|
cargo install winload
|
|
80
|
+
cargo install --list
|
|
68
81
|
```
|
|
69
82
|
### Windows (Scoop)
|
|
70
83
|
```powershell
|
|
71
84
|
scoop bucket add vincentzyu https://github.com/VincentZyuApps/scoop-bucket
|
|
72
85
|
scoop install winload
|
|
86
|
+
# execute bin file
|
|
87
|
+
win-nload
|
|
88
|
+
Get-Command win-nload # Powershell
|
|
89
|
+
where win-nload # CMD
|
|
73
90
|
```
|
|
74
91
|
|
|
75
92
|
### Arch Linux (AUR):
|
|
76
93
|
```bash
|
|
77
94
|
paru -S winload-rust-bin
|
|
95
|
+
which winload
|
|
78
96
|
```
|
|
79
97
|
|
|
80
98
|
### Linux (one-liner)
|
|
@@ -83,6 +101,7 @@ paru -S winload-rust-bin
|
|
|
83
101
|
> Supports Fedora/RHEL and derivatives — Rocky Linux, AlmaLinux, CentOS Stream, etc. (dnf)
|
|
84
102
|
```bash
|
|
85
103
|
curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/install_scripts/install.sh | bash
|
|
104
|
+
which winload
|
|
86
105
|
```
|
|
87
106
|
> 📄 [View install script source](https://github.com/VincentZyuApps/winload/blob/main/docs/install_scripts/install.sh)
|
|
88
107
|
|
|
@@ -95,11 +114,13 @@ curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/in
|
|
|
95
114
|
sudo dpkg -i ./winload_*_amd64.deb
|
|
96
115
|
# or use apt (auto-resolves dependencies)
|
|
97
116
|
sudo apt install ./winload_*_amd64.deb
|
|
117
|
+
which winload
|
|
98
118
|
```
|
|
99
119
|
|
|
100
120
|
**RPM (Fedora/RHEL):**
|
|
101
121
|
```bash
|
|
102
122
|
sudo dnf install ./winload-*-1.x86_64.rpm
|
|
123
|
+
which winload
|
|
103
124
|
```
|
|
104
125
|
|
|
105
126
|
**Or download binaries directly from [GitHub Releases](https://github.com/VincentZyuApps/winload/releases).**
|