GameCode Docs
CTRL K

launcher.json

ConfiguraçãoGitHub
O arquivo de configuração do launcher, seção por seção.

Estrutura geral

{
  "main": "main.exe",
  "launcher":   { /* janela principal */ },
  "update":     { /* atualização via GitHub */ },
  "downloader": { /* primeira instalação */ },
  "dashboard":  { /* painel do jogador */ }
}

Campo main

O nome do executável do jogo, ex.: "main.exe".

É um fallback: o tema normalmente informa o exe pelo JS, com prioridade. Mantenha preenchido para o botão jogar funcionar offline.

Seção update (GitHub)

CampoO que faz
github.ownerDono do repositório.
github.repoNome do repositório.
github.tokenToken (opcional, repositório privado).
github.files_branchBranch do hash.json.

Sem owner e repo, o launcher não sabe de onde baixar. Veja Configurar repositório.

launcher.json

ConfigurationGitHub
The launcher configuration file, section by section.

General structure

{
  "main": "LostMU.exe",
  "launcher":   { /* main window */ },
  "update":     { /* update via GitHub */ },
  "downloader": { /* first install */ },
  "dashboard":  { /* player panel */ }
}

main field

The game executable name, e.g. "LostMU.exe".

It's a fallback: the theme usually sends the exe via JS, with priority. Keep it filled so the play button works offline.

update section (GitHub)

FieldWhat it does
github.ownerRepository owner.
github.repoRepository name.
github.tokenToken (optional, private repo).
github.files_branchBranch of hash.json.

Without owner and repo, the launcher doesn't know where to download from. See Set up repository.

launcher.json

ConfiguraciónGitHub
El archivo de configuración del launcher, sección por sección.

Estructura general

{
  "main": "LostMU.exe",
  "launcher":   { /* ventana principal */ },
  "update":     { /* actualización via GitHub */ },
  "downloader": { /* primera instalación */ },
  "dashboard":  { /* panel del jugador */ }
}

Campo main

El nombre del ejecutable del juego, ej.: "LostMU.exe".

Es un fallback: el tema normalmente informa el exe por JS, con prioridad. Mantenlo lleno para que el botón jugar funcione offline.

Sección update (GitHub)

CampoQué hace
github.ownerDueño del repositorio.
github.repoNombre del repositorio.
github.tokenToken (opcional, repo privado).
github.files_branchBranch del hash.json.

Sin owner y repo, el launcher no sabe de dónde descargar. Mira Configurar repositorio.