mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-09-26 23:35:55 +00:00
Allow extraction of nupkg files with 7zip
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ function requires_lessmsi ($manifest, $architecture) {
|
||||
}
|
||||
|
||||
function file_requires_7zip($fname) {
|
||||
$fname -match '\.((gz)|(tar)|(tgz)|(lzma)|(bz)|(bz2)|(7z)|(rar)|(iso)|(xz)|(lzh))$'
|
||||
$fname -match '\.((gz)|(tar)|(tgz)|(lzma)|(bz)|(bz2)|(7z)|(rar)|(iso)|(xz)|(lzh)|(nupkg))$'
|
||||
}
|
||||
|
||||
function extract_7zip($path, $to, $recurse) {
|
||||
|
||||
Reference in New Issue
Block a user