Template launcher with EML Lib https://emlproject.com
Find a file
froz 5d10c71e91
All checks were successful
ci / create_github_release (push) Successful in 8m31s
fix: hacky build fix
2026-05-01 17:18:40 +02:00
.github fix: release for windows 2026-04-29 00:57:47 +02:00
build change branding 2026-04-29 00:33:44 +02:00
electron feat: update references from EML Template to Gang Launcher 2026-05-01 17:47:16 +02:00
eml-lib fix: hacky build fix 2026-05-01 17:18:40 +02:00
src feat: update references from EML Template to Gang Launcher 2026-05-01 17:47:16 +02:00
.gitattributes Initial commit 2025-12-09 16:29:28 +01:00
.gitignore Fixed compilation error + use npm run release: instead of npm run dist: 2026-02-25 15:59:11 +01:00
.prettierrc Initial commit 2025-12-09 16:29:28 +01:00
CREDITS Restructure Electron app and add authentication handlers 2025-12-14 16:54:14 +01:00
electron-builder.yml feat: begin setup launcher build system 2026-04-29 00:21:02 +02:00
index.html feat: update references from EML Template to Gang Launcher 2026-05-01 17:47:16 +02:00
LICENSE Update 2025 to 2026 2026-04-13 01:32:22 +02:00
package-lock.json fix: modify eml-lib clean on windows 2026-05-01 17:15:04 +02:00
package.json fix: modify eml-lib clean on windows 2026-05-01 17:15:04 +02:00
README.md feat: update references from EML Template to Gang Launcher 2026-05-01 17:47:16 +02:00
tsconfig.json fix: hacky build fix 2026-05-01 17:18:40 +02:00
vite.config.ts Add profile selection and profiles IPC 2026-04-12 11:08:14 +02:00

Gang Launcher

Gang Launcher is the reference boilerplate for building a modern, fast, and cross-platform Minecraft Launcher.

Powered by EML Lib • Configurable via EML AdminTool

Gang Launcher

EML AdminTool Logo


Introduction

Gang Launcher acts as the frontend foundation for the Electron Minecraft Launcher ecosystem. It is a pre-configured Electron + Vite application designed to provide the best possible gaming experience.

It is engineered to work in perfect synergy with EML Lib (for the core logic) and EML AdminTool (for configuration).

Features

  • Next-gen performance: Built on Vite, offering instant startup and Hot-Module-Replacement (HMR).
  • Microsoft authentication: Full integration of the official authentication flow via EML Lib.
  • Asset management: Smart downloading of game files (Java, libraries, assets, mods) with hash validation, thanks to EML Lib and EML AdminTool (optional).
  • Auto-update: Automatic update system linked to your EML AdminTool instance.

Installation & Development

Prerequisites

Before starting, ensure you have installed:

  • Node.js (v18 or higher recommended)
  • npm (or Yarn/Pnpm)

Setup

  1. Clone the repository:

    git clone https://github.com/Electron-Minecraft-Launcher/EML-Template.git
    cd EML-Template
    
  2. Install dependencies:

    npm install
    

    Note: This will automatically install eml-lib and build tools.

  3. Start in Development mode:

    npm run dev
    

    An Electron window will open with hot-reloading enabled.

Configuration

Modify the configuration file (electron/const.ts) to point to your distribution URL generated by EML AdminTool.

Tip

Since EML Lib v2.2.0, you can use Gang Launcher without an EML AdminTool instance by providing a custom configuration object directly in the code. However, using EML AdminTool is recommended for easier management and updates.

Icon customization

To change the visual identity, replace the files in the build/ folder:

  • icon.png: Standard icon (512x512).
  • icon.ico: For Windows.
  • icon.icns: For macOS (Legacy & Liquid Glass fallback).
  • background.png: DMG Installer background (macOS).

Build (distribution)

To create the final executables for distribution:

Platform Command Output format
Windows npm run release:win .exe (NSIS Installer)
macOS npm run release:mac .dmg (Disk Image)
Linux npm run release:lin .AppImage, .deb, .rpm

Compiled files will be located in the release/ folder.

Contributing

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.