From 0bc6f60b2c567b660c0130aa96e5795b9a27bfbc Mon Sep 17 00:00:00 2001 From: Pandipipas Date: Thu, 21 May 2026 23:06:54 +0200 Subject: [PATCH] feat: update Gitea configuration for base URL and owner; add updateInfo to GameSelectOption interface --- src/extension/pack-manager.ts | 4 ++-- src/shared/pack-types.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/extension/pack-manager.ts b/src/extension/pack-manager.ts index 9471600..e22672c 100644 --- a/src/extension/pack-manager.ts +++ b/src/extension/pack-manager.ts @@ -16,8 +16,8 @@ import { nodecg } from './util/nodecg.js'; // ── Configuración de Gitea ──────────────────────────────────────────────────── // Edita estas constantes para apuntar a tu instancia. -const GITEA_BASE_URL = 'http://localhost:3000'; -const GITEA_OWNER = 'admin'; +const GITEA_BASE_URL = 'http://10.0.0.10:3002'; +const GITEA_OWNER = 'Pandipipas'; const GITEA_REPO = 'fighting-game-packs'; const GITEA_BRANCH = 'main'; diff --git a/src/shared/pack-types.ts b/src/shared/pack-types.ts index bd99112..92ea1e6 100644 --- a/src/shared/pack-types.ts +++ b/src/shared/pack-types.ts @@ -84,4 +84,6 @@ export interface GameSelectOption { available: boolean; /** Mirrors PackRegistryEntry so the download dialog can be populated inline. */ registryEntry: PackRegistryEntry; -} + /** Present when there is a newer version of this pack available in the registry. */ + updateInfo?: { installedVersion: string; latestVersion: string }; +} \ No newline at end of file