Commit 7677e3f
fix(windows): Revert to correct Win32::UI::Shell::IsUserAnAdmin import
The previous commit incorrectly changed the import path to
Win32::Security::Authorization::IsUserAnAdmin, which doesn't exist.
The correct import is Win32::UI::Shell::IsUserAnAdmin as documented at:
https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/UI/Shell/fn.IsUserAnAdmin.html
Changes:
- crates/prtip-network/src/privilege.rs: Restored Win32::UI::Shell import
- Cargo.toml: Removed unnecessary Win32_Security_Authorization feature
This fixes the Windows build failure in GitHub Actions CI.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8604553 commit 7677e3f
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments