How luuxis/selvania-launcher works
Project type and purpose
• From the file tree (build.js, package.json, src/app.js, js/windows, IPC-style utils) and README (desktop installer binaries, auto-update via GitHub, Windows/Linux/macOS), this is an Electron-based desktop launcher (“CraftLaunch”) for Minecraft.
• Its main purpose is to provide a cohesive UI for authentication, version and mod management, news feed, server status, automatic Java installation, and self-updates.
File structure
• Top-level:
• build.js & .github/workflows/build.yml → build and CI pipeline (GitHub Actions)
• package.json → dependencies (Electron, Node modules)
• docs/ → user and developer docs
• src/
• app.js → Electron main process entry point
• index.html, launcher.html → renderer entry HTML pages
• js/
– windows/ → definitions for mainWindow.js (launcher UI) and updateWindow.js
– panels/ + panels HTML → individual renderer views (home, login, settings)
– utils/ → modular services (config, database, logger, popup, skin, slider)
• No separate “backend” folder because Electron’s main process acts as your back end.
README for additional insights
• Features: auto-updates (GitHub), MS authentication, mod support, news, server status, Java management
• Target platforms: Windows, Linux, macOS