Commit 0aff13949a
0aff13949a8e9e120a585f00627ef6959f8e0635
parent: 5756a37bc1
Verified · cmc
cmc <hello@cleberg.net> · 2026-07-15 01:28 UTC
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.
Layout: unified · split
SETUP-RU.md
+1 −1
| @@ -1,4 +1,4 @@ |
| 1 | [English version 🇬🇧](/skunky/SkunkyArt/src/branch/master/SETUP.md) |
1 | [English version 🇬🇧](SETUP.md) |
| 2 | |
2 | |
| 3 | # Единицы измерения |
3 | # Единицы измерения |
| 4 | Размер файла в кеше измеряется в мегабайтах.<br> |
4 | Размер файла в кеше измеряется в мегабайтах.<br> |
SETUP.md
+1 −1
| @@ -1,4 +1,4 @@ |
| 1 | [Версия на русском языке 🇷🇺](/skunky/SkunkyArt/src/branch/master/SETUP-RU.md) |
1 | [Версия на русском языке 🇷🇺](SETUP-RU.md) |
| 2 | |
2 | |
| 3 | # Units |
3 | # Units |
| 4 | Maximum file size in megabytes, requires numeric value.<br> |
4 | Maximum file size in megabytes, requires numeric value.<br> |
app/cli.go
+2 −2
| @@ -17,7 +17,7 @@ Usage: |
| 17 | - [-h|--help] | returns this message |
17 | - [-h|--help] | returns this message |
| 18 | Example: |
18 | Example: |
| 19 | ./skunkyart -c config.json |
19 | ./skunkyart -c config.json |
| 20 | Copyright lost+skunk, X11. https://git.macaw.me/skunky/skunkyart/src/tag/v{{.Version}}` |
20 | Copyright lost+skunk, X11. https://github.com/zerolabsco/skunky-art/releases/tag/v{{.Version}}` |
| 21 | |
21 | |
| 22 | a := os.Args[1:] |
22 | a := os.Args[1:] |
| 23 | for n, x := range a { |
23 | for n, x := range a { |
| @@ -162,5 +162,5 @@ func addInstance() { |
| 162 | } |
162 | } |
| 163 | time.Sleep(500 * time.Millisecond) |
163 | time.Sleep(500 * time.Millisecond) |
| 164 | } |
164 | } |
| 165 | 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) |
165 | 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) |
| 166 | } |
166 | } |
app/util.go
+1 −1
| @@ -47,7 +47,7 @@ func RefreshInstances() { |
| 47 | for { |
47 | for { |
| 48 | func() { |
48 | func() { |
| 49 | defer restore() |
49 | defer restore() |
| 50 | instances = Download("https://git.macaw.me/skunky/SkunkyArt/raw/branch/master/instances.json").Body |
50 | instances = Download("https://raw.githubusercontent.com/zerolabsco/skunky-art/main/instances.json").Body |
| 51 | try(json.Unmarshal(instances, &About)) |
51 | try(json.Unmarshal(instances, &About)) |
| 52 | }() |
52 | }() |
| 53 | time.Sleep(1 * time.Hour) |
53 | time.Sleep(1 * time.Hour) |
static/html/about.htm
+1 −1
| @@ -44,6 +44,6 @@ |
| 44 | {{end}} |
44 | {{end}} |
| 45 | </ul> |
45 | </ul> |
| 46 | </details> |
46 | </details> |
| 47 | <p>Copyright <a href="https://go.kde.org/matrix/#/@ls:gnulinux.club" target="_blank">lost+skunk</a>, X11. <a href="https://git.macaw.me/skunky/skunkyart/src/tag/v{{.Version}}" target="_blank">SkunkyArt v{{.Version}}</a></p> |
47 | <p>Copyright <a href="https://go.kde.org/matrix/#/@ls:gnulinux.club" target="_blank">lost+skunk</a>, X11. <a href="https://github.com/zerolabsco/skunky-art/releases/tag/v{{.Version}}" target="_blank">SkunkyArt v{{.Version}}</a></p> |
| 48 | </main> |
48 | </main> |
| 49 | </html> |
49 | </html> |
static/html/index.htm
+1 −1
| @@ -83,7 +83,7 @@ |
| 83 | <button type="submit">Search!</button> |
83 | <button type="submit">Search!</button> |
| 84 | </form> |
84 | </form> |
| 85 | <h1 style="margin-top: 5%; font-size: 200%; text-align: center;"> |
85 | <h1 style="margin-top: 5%; font-size: 200%; text-align: center;"> |
| 86 | <a href="https://git.macaw.me/skunky/SkunkyArt" target="_blank" title="Source Code">SkunkyArt</a> |
86 | <a href="https://github.com/zerolabsco/skunky-art" target="_blank" title="Source Code">SkunkyArt</a> |
| 87 | </h1> |
87 | </h1> |
| 88 | </div> |
88 | </div> |
| 89 | </main> |
89 | </main> |