mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-09-24 22:36:05 +00:00
carry on if there is a problem deleting extracted files (fixes #773)
This commit is contained in:
@@ -190,6 +190,8 @@ function dl_urls($app, $version, $manifest, $architecture, $dir, $use_cache = $t
|
||||
rm -r -force "$dir\_scoop_extract" -ea stop
|
||||
} catch [system.io.pathtoolongexception] {
|
||||
cmd /c "rmdir /s /q $dir\_scoop_extract"
|
||||
} catch [system.unauthorizedaccessexception] {
|
||||
warn "couldn't remove $dir\_scoop_extract: unauthorized access"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user