将以下命令复制并粘贴到 PowerShell 终端中。这不需要提升权限(管理员)的 shell。
# Downloads the client to the current directory
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/rtfmkiesel/loldrivers-client/refs/heads/main/run.ps1)))
# Downloads, runs and deletes the client (temp, default options)
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/rtfmkiesel/loldrivers-client/refs/heads/main/run.ps1))) -temp
从 GitHub 下载预编译的二进制文件。
*_embedded.zip 版本内嵌了 drivers.json 文件,以便离线使用。JSON 文件的新旧程度由最后一次构建/发布日期决定。请注意,此文件可能会被标记为恶意软件。
# Requires Golang >=1.27 and a Linux env
# When using Windows, change 'curl' to 'curl.exe' in 'internal\loldrivers\drivers_embedded.go'
git clone https://github.com/rtfmkiesel/loldrivers-client
cd loldrivers-client
go generate ./internal/loldrivers/
# normal
go build -o LOLDrivers-client.exe -ldflags="-s -w" .
# embedded
go build -o LOLDrivers-client_embedded.exe -ldflags="-s -w" -tags embedded .
Usage of LOLDrivers-client.exe:
-maxsize int
size limit for files to scan in MB (default 10)
-nocolor
do not print colored output
-output string
output mode {standard,grep,json} (default "standard")
-target string
target directory (default OS)
-workers int
number of parallel scan workers (default 20)
本项目与 LOLDrivers 项目无任何关联。