Skip to content
Sentinels Republic Emu Launcher
JavaScript CSS HTML
Branch: master
Clone or download
Pull request Compare This branch is 41 commits ahead, 34 commits behind dpwhittaker:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Linux Compatibility Nov 1, 2018
img Help and Info Prompt, Overlay fixes, Server Status fix Dec 10, 2018
json [Changed] Server addresses, server status fallback Dec 29, 2019
setup [Updated] Mantis link and SSL to all SR hyperlinks Dec 31, 2019
.gitignore Delete tgz, update ignore Dec 11, 2018
LICENSE.md Read me update Oct 8, 2018
README.md Help and Info Prompt, Overlay fixes, Server Status fix Dec 10, 2018
index.html [Updated] Mantis link and SSL to all SR hyperlinks Dec 31, 2019
install.js
main.js [Added] minWidth and minHeight - Thanks Cyclone Dec 27, 2019
md5.js Read me update Oct 8, 2018
package-lock.json [Changed] Server addresses, server status fallback Dec 29, 2019
package.json [Changed] Server addresses, server status fallback Dec 29, 2019
renderer.js
styles.css [Changed] Server addresses, server status fallback Dec 29, 2019

README.md

Sentinels Republic Launcher

Electron application based on dpwhitter's RoC Launcher

All graphics are property of Sentinels Republic

Features

The Sentinel Republic (SR) Launcher includes a new user friendly interface, a guided set up process, patching for multiple login servers and Linux/macOS compatibility. Also included are many other miscellaneous tweaks, improvements and new features.

Get Started

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/DesporoWace/SR-Launcher.git
# Go into the repository
cd SR-Launcher
# Install dependencies
npm install
# Run the app
npm start

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

Building

Commands for building can be found in package.json under scripts. Argument of -p always will publish the build as a release to your repository.

Windows - Public Release

  • Create a Personal Access Token
  • In Windows, set an Environmental variable in PowerShell with the following command, replacing "YOUR_TOKEN" with the token you generated above: [Environment]::SetEnvironmentVariable("GH_TOKEN","YOUR_TOKEN","User") - You may need to restart after running this.
  • npm pack - Pack the applications
  • npm run-script build-win - Build applications and publish draft to release of your applications repo.

Windows - Local Build

  • In package.json - Change "build-win": "build --win --ia32 -p always", to "build-win": "build --win --ia32",
  • npm pack - Pack the applications
  • npm run-script build-win - Build applications and publish draft to release of your applications repo.
  • Inside of the /dist directory should an executable with your application.

Linux / macOS - Local Build

  • npm pack - Pack the applications
  • Linux: npm run-script build-linux - Build applications and publish draft to release of your applications repo.
  • macOS: npm run-script build-mac - Build applications and publish draft to release of your applications repo.
  • Inside of the /dist directory should a package containing your application. Some limitations apply when packaging on a platform that cannot execute the package. (You can only make a macOS .dmg on macOS)

About

Structure

  • package.json - Points to the app's main file and lists its details and dependencies.
  • main.js - Starts the app and creates a browser window to render HTML. This is the app's main process.
  • index.html - A web page to render. This is the app's renderer process.
  • renderer.js - Handles users interaction with the application.
  • install.js - Handles the patching process.
  • md5.js - Checks md5 of files for patching.
  • /setup - Directory containing files for guided setup process.

Resources for Learning Electron

License

CC0 1.0 (Public Domain)

You can’t perform that action at this time.