rebrand: arahkan tautan, badge, label UI & cek-update ke Gitea (bukan GitHub)
CI / test (push) Successful in 1m34s

This commit is contained in:
oxpoe committed 2026-10-14 21:08:03 +07:00
1 parent 2bfed9bea3
commit 651fd0fc3d
8 files changed
+30 -46

No files matched your search

+2 -2
View File
@@ -12,9 +12,9 @@ import (
"lazyrun/internal/store"
)
// Link aplikasi: repo GitHub LazyRun dan halaman donasi.
// Link aplikasi: repo Gitea LazyRun dan halaman donasi.
const (
repoURL = "https://github.com/oxpoe/lazyrun"
repoURL = "https://gitea.oxpoe.qzz.io/oxpoe/lazyrun"
donateURL = "https://donasi.oxpoe.qzz.io/"
)
+1 -1
View File
@@ -68,7 +68,7 @@ var tr = map[string][2]string{
"need_target": {"Pick at least one location: menu or desktop.", "Pilih minimal satu lokasi: menu atau desktop."},
"no_browser": {"No supported browser found. Install Chrome, Chromium, Brave, Edge, Vivaldi, or Firefox first.", "Browser yang didukung tidak ditemukan. Install Chrome, Chromium, Brave, Edge, Vivaldi, atau Firefox dulu."},
"github": {"GitHub", "GitHub"},
"github": {"Gitea", "Gitea"},
"donate": {"Donate", "Donasi"},
"check_updates": {"Check for Updates", "Cek Update"},
+2 -2
View File
@@ -14,8 +14,8 @@ import (
)
var (
apiBase = "https://api.github.com/repos/oxpoe/lazyrun/releases"
repoURL = "https://github.com/oxpoe/lazyrun"
apiBase = "https://gitea.oxpoe.qzz.io/api/v1/repos/oxpoe/lazyrun/releases"
repoURL = "https://gitea.oxpoe.qzz.io/oxpoe/lazyrun"
)
// LAZYRUN_UPDATE_API bisa dipakai untuk mengarahkan cek update ke server lain
+2 -2
View File
@@ -51,7 +51,7 @@ func TestLatestParsesRelease(t *testing.T) {
_, _ = w.Write([]byte(`{
"tag_name": "v1.2.0",
"body": " - ikon online\n - animasi ",
"html_url": "https://github.com/oxpoe/lazyrun/releases/tag/v1.2.0",
"html_url": "https://gitea.oxpoe.qzz.io/oxpoe/lazyrun/releases/tag/v1.2.0",
"assets": [
{"name": "lazyrun-1.2.0-x86_64.AppImage.zsync", "browser_download_url": "https://contoh/zsync"},
{"name": "lazyrun-1.2.0-x86_64.AppImage", "browser_download_url": "https://contoh/appimage"}
@@ -61,7 +61,7 @@ func TestLatestParsesRelease(t *testing.T) {
defer srv.Close()
SetEndpoint(srv.URL)
t.Cleanup(func() { SetEndpoint("https://api.github.com/repos/oxpoe/lazyrun/releases") })
t.Cleanup(func() { SetEndpoint("https://gitea.oxpoe.qzz.io/api/v1/repos/oxpoe/lazyrun/releases") })
rel, err := Latest()
if err != nil {