From 0aff13949a8e9e120a585f00627ef6959f8e0635 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 14 Jul 2026 20:28:02 -0500 Subject: fix: point source links and instance fetch at this fork Upstream references still pointed at git.macaw.me, which is unmaintained and whose instances.json is a dead link. Repoint them at this repo: - RefreshInstances now fetches instances.json from raw.githubusercontent - source/version links in index.htm, about.htm, and CLI help use the GitHub releases tag URL - SETUP.md/SETUP-RU.md language switch links were Gitea-absolute paths that 404 on GitHub; make them relative - --add-instance message says 'main' branch, matching this repo The fork attribution in README.md is left as-is: it credits upstream rather than pointing at the source. --- app/cli.go | 4 ++-- app/util.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/cli.go b/app/cli.go index 0480bdb..042aabd 100755 --- a/app/cli.go +++ b/app/cli.go @@ -17,7 +17,7 @@ Usage: - [-h|--help] | returns this message Example: ./skunkyart -c config.json -Copyright lost+skunk, X11. https://git.macaw.me/skunky/skunkyart/src/tag/v{{.Version}}` +Copyright lost+skunk, X11. https://github.com/zerolabsco/skunky-art/releases/tag/v{{.Version}}` a := os.Args[1:] for n, x := range a { @@ -162,5 +162,5 @@ func addInstance() { } time.Sleep(500 * time.Millisecond) } - exit("Done! Now add the files 'instances.json' and 'INSTANCES.md' to the 'master' branch in the repository https://git.macaw.me/skunky/SkunkyArt", 0) + exit("Done! Now add the files 'instances.json' and 'INSTANCES.md' to the 'main' branch in the repository https://github.com/zerolabsco/skunky-art", 0) } diff --git a/app/util.go b/app/util.go index 493997b..c886b29 100755 --- a/app/util.go +++ b/app/util.go @@ -47,7 +47,7 @@ func RefreshInstances() { for { func() { defer restore() - instances = Download("https://git.macaw.me/skunky/SkunkyArt/raw/branch/master/instances.json").Body + instances = Download("https://raw.githubusercontent.com/zerolabsco/skunky-art/main/instances.json").Body try(json.Unmarshal(instances, &About)) }() time.Sleep(1 * time.Hour) -- cgit v1.2.3