mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
fix(fish): treat .app.zip as .zip for extraction
This commit is contained in:
@@ -746,6 +746,7 @@ BuildsCacher.create = function ({ ALL_TERMS, installers, caches }) {
|
||||
exts.push('.git');
|
||||
|
||||
// Fallbacks
|
||||
// (we include everything to bubble an extract error over not found)
|
||||
exts.push('.app.zip');
|
||||
exts.push('.dmg');
|
||||
exts.push('.pkg');
|
||||
|
||||
@@ -200,7 +200,7 @@ __bootstrap_webi() {
|
||||
if [ "tar" = "$WEBI_EXT" ]; then
|
||||
echo " Extracting $(t_path "${my_dl_rel}")"
|
||||
tar xf "${WEBI_PKG_PATH}/$WEBI_PKG_FILE"
|
||||
elif [ "zip" = "$WEBI_EXT" ]; then
|
||||
elif [ "zip" = "$WEBI_EXT" ] || [ "app.zip" = "$WEBI_EXT" ]; then
|
||||
echo " Extracting $(t_path "${my_dl_rel}")"
|
||||
unzip "${WEBI_PKG_PATH}/$WEBI_PKG_FILE" > __unzip__.log
|
||||
elif [ "exe" = "$WEBI_EXT" ]; then
|
||||
|
||||
Reference in New Issue
Block a user