Skip to content

Commit

Permalink
Improve 7z cmdline compatibility, refer axmolengine#2304
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Jan 5, 2025
1 parent 3d00efe commit 290e4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1k/1kiss.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ function download_and_expand($url, $out, $dest) {
tar xf "$out" -C $dest | Out-Host
}
elseif ($out.EndsWith('.7z') -or $out.EndsWith('.exe')) {
7z x "$out" "-o$dest" -bsp1 -snld -y | Out-Host
7z x "$out" "-o$dest" -bsp1 -y | Out-Host
}
elseif ($out.EndsWith('.sh')) {
chmod 'u+x' "$out" | Out-Host
Expand Down

0 comments on commit 290e4f5

Please sign in to comment.