mirror of
https://github.com/ScoopInstaller/Java.git
synced 2026-08-21 03:22:23 +08:00
5 lines
256 B
PowerShell
5 lines
256 B
PowerShell
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
|
|
$checkver = "$env:SCOOP_HOME/bin/checkver.ps1"
|
|
$dir = "$psscriptroot/.." # checks the parent dir
|
|
iex -command "$checkver -dir $dir $($args |% { "$_ " })"
|