mirror of
https://github.com/joaoviictorti/shadow-rs.git
synced 2026-01-13 12:34:34 +01:00
Update Justfile
This commit is contained in:
3
Justfile
3
Justfile
@@ -27,6 +27,9 @@ driver:
|
||||
|
||||
# Build the driver with `mapper` feature
|
||||
driver-mapper:
|
||||
@if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { \
|
||||
throw "[-] You must run this as Administrator"; \
|
||||
} \
|
||||
cd {{driver}}; cargo make default --release --features mapper
|
||||
|
||||
# Clean everything in the workspace
|
||||
|
||||
Reference in New Issue
Block a user