fix(fish): treat .app.zip as .zip for extraction

This commit is contained in:
AJ ONeal
2024-01-15 19:16:55 +00:00
parent 4738ba04b9
commit 16d108e3d5
2 changed files with 2 additions and 1 deletions

View File

@@ -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');

View File

@@ -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