Commit Graph

36 Commits

Author SHA1 Message Date
Hsiao-nan Cheung
a6fd88f582 Expand-ZipArchive: Compatible with Pscx (#3425)
Close scoopinstaller/scoop-main#19
Close scoopinstaller/scoop-main#20
Close lukesampson/scoop-extras#2078
2019-05-01 21:26:54 +02:00
Chawye Hsu
2db651c13a fix: correct deprecation function name (#3406) 2019-04-28 14:23:04 +02:00
Richard Kuhnt
1268d74224 [Regression]: Rename extract_inno to unpack_inno 2019-04-28 12:50:49 +02:00
Richard Kuhnt
79a6d5cb04 decompress: Fix get_config calls 2019-04-26 20:34:16 +02:00
Hsiao-nan Cheung
72730e0d73 decompress.ps1: Refactor extraction handling functions (#3204)
* Refactored functions:
  * requires_7zip > Test-7ZipRequirement
  * requires_lessmsi > Test-LessMSIRequirement
  * extract_7zip > Expand-7ZipArchive
  * extract_msi/extract_lessmsi > Expand-MSIArchive
  * unpack_inno > Expand-InnoArchive
  * extract_zip/unzip_old > Expand-ZipArchive
* Fix 7zip failed when .tar and .tgz have diff names
* Add tools to CI
* Add test cases for Expand-7ZipArchive
* Add test cases for Expand-InnoArchive
* Add test cases for Expand-MSIArchive
* Add config `7ZIPEXTRACT_USE_EXTERNAL`
* Change '$recurse' to '$removal'
2019-04-26 18:35:59 +02:00
Hsiao-nan Cheung
5f91682a79 decompress.ps1: Refactored (w/ install.ps1, core.ps1) (edited) (#3169)
* decompress.ps1: Refactored (w/ install.ps1, core.ps1)

* fix install.ps1
2019-03-07 22:14:06 +01:00
Richard Kuhnt
2224da82f8 Allow extraction of nupkg files with 7zip 2018-08-09 19:23:06 +02:00
Richard Kuhnt
55ce0c0b0c Check if 7zip installed via Scoop instead of using 7z.exe from PATH 2018-08-08 11:06:35 +02:00
Steve Baker
9a3fc965ef Add .bz2 files to decompression (#2085)
Add .bz2 files to decompression
2018-03-04 10:26:59 +01:00
Chawye Hsu
e1bb1e91d0 Lint: PSAvoidUsingCmdletAliases (#2075) 2018-03-03 18:41:19 +01:00
Luke Sampson
e8e5ac5615 Update more UI messages for consistency. 2017-02-13 20:53:36 +11:00
Luke Sampson
1c173bc56d Use sentence case for UI messages. 2017-02-13 20:20:41 +11:00
zeero
13689ccf17 Add support for lzh format. (with 7zip) 2017-01-06 00:48:25 +09:00
Simon Hartcher
98921256e6 Refactor lessmsi code. Add lessmsi support to depends 2016-01-21 23:16:30 +11:00
Roy Ivy III
6d9bca805f whitespace cleanup
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Luke Sampson
0ee6b97abb Let 7-zip extract .xz files too 2014-07-25 11:36:59 +10:00
Luke Sampson
55e673961f include .tgz in the list of file extensions that 7-zip can decompress 2014-01-12 13:47:42 +10:00
Luke Sampson
f3b48e213c detect .iso files and extract with 7zip 2014-01-01 21:02:21 +10:00
Luke Sampson
32dc679ec9 add MSI extraction, deprecate MSI install (see issues #16, #18) 2013-12-23 11:20:54 +10:00
Luke Sampson
993eadfbdc 7zip extraction: don't recursively extract all files, just the ones that match the .tar.* convention 2013-10-08 09:05:54 +10:00
Luke Sampson
94fea2bb9e 7zip decompress: allow recursive extract to fail with warning instead of failure 2013-10-07 12:16:43 +10:00
Luke Sampson
396136bef5 refactor 7zip_installed into cmd_available so it can be used to check for innounp too 2013-10-04 14:28:02 +10:00
Luke Sampson
5a4a8fd27b refactor checking 7zip requirement 2013-10-04 13:39:03 +10:00
Luke Sampson
686e9c968d fix bug where 7zip required 7zip 2013-09-25 11:20:58 +10:00
Luke Sampson
9da0ff5b5b include .rar in list of files 7zip extracts 2013-09-24 22:11:33 +10:00
Luke Sampson
7aae9c4ec7 use .bz2 for Bzip2 2013-09-23 15:36:42 +10:00
Luke Sampson
36a9c6ffa4 include gzip in the list of files 7zip extracts 2013-09-23 08:41:05 +10:00
Luke Sampson
7382e17561 convert spaces to tabs 2013-08-15 13:05:00 +10:00
Luke Sampson
fdb3791b5d OpenSSL 1.0.1e 2013-08-12 09:59:36 +10:00
Luke Sampson
b6951e10bb don't show double-done when recursively extracting with 7zip, show version in brackets after install 2013-08-09 23:38:58 +10:00
Luke Sampson
e1b1bcb880 use extract_dir instead of unzip_folder 2013-08-09 12:20:44 +10:00
Luke Sampson
881ef697fa ensure 7zip installed before installing an app that needs it 2013-07-19 08:36:16 +10:00
Luke Sampson
f3d4d2cf0b less verbose 7zip extraction, only do .cmd shim for .exe, ensure C:\Users\luke set for all shims 2013-07-18 12:40:27 +10:00
Luke Sampson
d07361b222 use portable git for no UAC 2013-07-17 17:49:23 +10:00
Luke Sampson
5d742360c9 openssh 5.4p1-1 install working with dependencies 2013-07-17 16:37:01 +10:00
Luke Sampson
f3f6bc9f0f started on using 7zip to extract .tar.lzma 2013-07-17 16:24:34 +10:00