1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-07-19 22:18:48 +02:00

fix: change remote URLs

This commit is contained in:
aclist 2024-12-12 09:54:44 +09:00
parent 8dc9ad3313
commit eaf9d5ad3e
3 changed files with 13 additions and 16 deletions
helpers

View file

@ -72,10 +72,10 @@ author="aclist"
repo="dztui"
gh_prefix="https://github.com"
issues_url="$gh_prefix/$author/$repo/issues"
url_prefix="https://raw.githubusercontent.com/$author/$repo"
url_prefix="https://codeberg.org/$author/$repo/branch"
stable_url="$url_prefix/dzgui"
testing_url="$url_prefix/testing"
releases_url="$gh_prefix/$author/$repo/releases/download/browser"
releases_url="https://codeberg.org/$author/$repo/releases/download/browser"
km_helper_url="$releases_url/latlon"
db_file="$releases_url/ips.csv.gz"
sums_url="$stable_url/helpers/sums.md5"
@ -852,7 +852,7 @@ dl_changelog(){
local file="CHANGELOG.md"
[[ $branch == "stable" ]] && mdbranch="dzgui"
[[ $branch == "testing" ]] && mdbranch="testing"
local md="https://raw.githubusercontent.com/$author/$repo/${mdbranch}/$file"
local md="https://codeberg.org/$author/$repo/raw/branch/${mdbranch}/$file"
curl -Ls "$md" > "$state_path/$file"
}
toggle(){