Closed SunsetMkt closed 1 month ago
I just downloaded xonotic-0.8.5.zip manually and can confirm the top-level folder is called "Xonotic" with an uppercase X. Maybe Scoop is automatically getting rid of the first top-level folder now?
This may be a bug of scoop. The error occurs in movedir()
of scoop, this should not happen.
function movedir($from, $to) {
$from = $from.trimend('\')
$to = $to.trimend('\')
$proc = New-Object System.Diagnostics.Process
$proc.StartInfo.FileName = 'robocopy.exe'
$proc.StartInfo.Arguments = "`"$from`" `"$to`" /e /move"
$proc.StartInfo.RedirectStandardOutput = $true
$proc.StartInfo.RedirectStandardError = $true
$proc.StartInfo.UseShellExecute = $false
$proc.StartInfo.WindowStyle = [System.Diagnostics.ProcessWindowStyle]::Hidden
[void]$proc.Start()
$stdoutTask = $proc.StandardOutput.ReadToEndAsync()
$proc.WaitForExit()
if($proc.ExitCode -ge 8) {
debug $stdoutTask.Result
throw "Could not find '$(fname $from)'! (error $($proc.ExitCode))"
}
# wait for robocopy to terminate its threads
1..10 | ForEach-Object {
if (Test-Path $from) {
Start-Sleep -Milliseconds 100
}
}
}
Prerequisites
Package Name
xonotic
Expected/Current Behaviour
Unable to install Xonotic.
Steps to Reproduce
Possible Solution
I have no idea about how Scoop manifest works.
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response