-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e4a74b
commit 726b75c
Showing
4 changed files
with
146 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2024 Dotanuki Labs | ||
# SPDX-License-Identifier: MIT | ||
|
||
set -euo pipefail | ||
|
||
readonly repo="Automattic/pocket-casts-android" | ||
readonly version="7.72" | ||
readonly asset=" app-7.72.apk" | ||
readonly download_url="https://github.com/$repo/releases/download/$version/$asset" | ||
readonly package="pocket-casts-android.apk" | ||
|
||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
cd "${script_dir%/*}" | ||
actual_dir=$(pwd) | ||
|
||
rm -rf "$actual_dir/.tmp" && mkdir "$actual_dir/.tmp" | ||
curl -fsSL -o "$actual_dir/.tmp/$package" -C - "$download_url" | ||
src/main.sh "$actual_dir/.tmp/$package" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2024 Dotanuki Labs | ||
# SPDX-License-Identifier: MIT | ||
|
||
set -euo pipefail | ||
|
||
readonly repo="Automattic/pocket-casts-ios" | ||
readonly version="7.72" | ||
readonly asset="PocketCasts.xcarchive.zip" | ||
readonly download_url="https://github.com/$repo/releases/download/$version/$asset" | ||
readonly package="pocket-casts-ios.xcarchive.zip" | ||
readonly tmp_dir=".tmp" | ||
|
||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
cd "${script_dir%/*}" | ||
actual_dir=$(pwd) | ||
|
||
rm -rf "$actual_dir/.tmp" && mkdir "$actual_dir/.tmp" | ||
curl -fsSL -o "$actual_dir/.tmp/$package" -C - "$download_url" | ||
src/main.sh "$actual_dir/.tmp/$package" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters