From 62e6da2abb9c3edb8479e5ab6d803a3662c45116 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:08:57 +0900 Subject: [PATCH] fix: url syntax --- dzgui.sh | 4 ++-- helpers/funcs | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) mode change 100755 => 100644 dzgui.sh diff --git a/dzgui.sh b/dzgui.sh old mode 100755 new mode 100644 index aa02198..82a97d2 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.6.0-beta.14 +version=5.6.0-beta.15 #CONSTANTS aid=221100 @@ -580,7 +580,7 @@ fetch_helpers_by_sum(){ ["ui.py"]="be3da1e542d14105f4358dd38901e25a" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" - ["funcs"]="bdf2b0d71622de2a5762005290879b3d" + ["funcs"]="bfe629ed9481627317b49a8f9c6fad24" ["lan"]="c62e84ddd1457b71a85ad21da662b9af" ) local author="aclist" diff --git a/helpers/funcs b/helpers/funcs index 42cdd49..8e06c1a 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -74,7 +74,7 @@ repo="dztui" #2024-12-12 gh_prefix="https://github.com" issues_url="$gh_prefix/$author/$repo/issues" -url_prefix="https://codeberg.org/$author/$repo/branch" +url_prefix="https://codeberg.org/$author/$repo/raw/branch" stable_url="$url_prefix/dzgui" testing_url="$url_prefix/testing" releases_url="https://codeberg.org/$author/$repo/releases/download/browser" @@ -854,6 +854,8 @@ dl_changelog(){ local file="CHANGELOG.md" [[ $branch == "stable" ]] && mdbranch="dzgui" [[ $branch == "testing" ]] && mdbranch="testing" + #TODO: this is hardcoded + #2024-12-12 local md="https://codeberg.org/$author/$repo/raw/branch/${mdbranch}/$file" curl -Ls "$md" > "$state_path/$file" }