chore: migrate from Gitea to GitHub
Build and Release / build-and-release (push) Failing after 4m6s

Replace Gitea CI workflow with GitHub Actions workflow using gh CLI
for release creation. Update auto-updater, changelog fetch, download
links, electron-builder publish config, and package.json homepage to
point at github.com/bigjakk/Krunker-Civilian-Client.
This commit is contained in:
2026-04-03 16:50:19 -07:00
parent cf05ce38e1
commit a702c92031
7 changed files with 104 additions and 149 deletions
+1 -1
View File
@@ -683,7 +683,7 @@ async function launchApp(): Promise<void> {
const tag = version.startsWith('v') ? version : `v${version}`;
try {
const data = await new Promise<string>((resolve, reject) => {
httpsGet(`https://gitea.crjlab.net/api/v1/repos/bigjakk/Krunker-Civilian-Client/releases/tags/${tag}`, (res) => {
httpsGet(`https://api.github.com/repos/bigjakk/Krunker-Civilian-Client/releases/tags/${tag}`, { headers: { 'User-Agent': 'KCC' } }, (res) => {
let body = '';
res.on('data', (chunk: string) => { body += chunk; });
res.on('end', () => resolve(body));
+2 -4
View File
@@ -13,11 +13,9 @@ export interface UpdateInfo {
export type ProgressCallback = (percent: number) => void;
const UPDATE_CONFIG = {
// Gitea provider
checkUrl: 'https://gitea.crjlab.net/api/v1/repos/bigjakk/Krunker-Civilian-Client/releases/latest',
checkUrl: 'https://api.github.com/repos/bigjakk/Krunker-Civilian-Client/releases/latest',
assetPattern: /Setup\.exe$/i,
// Allowed hosts for update check and download (including redirects)
allowedHosts: ['gitea.crjlab.net'],
allowedHosts: ['github.com', 'api.github.com', 'objects.githubusercontent.com'],
};
const CHECK_TIMEOUT_MS = 10000;