Skip to content

Commit

Permalink
Merge pull request #4 from peunsu/dev
Browse files Browse the repository at this point in the history
Pre-Release v3.0.0
  • Loading branch information
peunsu committed Feb 11, 2024
2 parents 95eebc1 + 1e00abc commit ab2eeb2
Show file tree
Hide file tree
Showing 66 changed files with 4,402 additions and 4,105 deletions.
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2017-2022 Daniel D. Scalzi
Copyright (c) 2024 peunsu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<p align="center"><img src="./app/assets/images/SealCircle.png" width="150px" height="150px" alt="aventium softworks"></p>
<p align="center"><img src="./app/assets/images/Icon.png" width="150px" height="150px" alt="aventium softworks"></p>

<h1 align="center">Helios Launcher</h1>
<h1 align="center">MRS Launcher</h1>

<em><h5 align="center">(formerly Electron Launcher)</h5></em>
[<h3 align="center">Forked from Helios Launcher</h3>](https://github.com/dscalzi/HeliosLauncher)

[<p align="center"><img src="https://img.shields.io/github/actions/workflow/status/dscalzi/HeliosLauncher/build.yml?branch=master&style=for-the-badge" alt="gh actions">](https://github.com/dscalzi/HeliosLauncher/actions) [<img src="https://img.shields.io/github/downloads/dscalzi/HeliosLauncher/total.svg?style=for-the-badge" alt="downloads">](https://github.com/dscalzi/HeliosLauncher/releases) <img src="https://forthebadge.com/images/badges/winter-is-coming.svg" height="28px" alt="winter-is-coming"></p>
[<p align="center"><img src="https://img.shields.io/github/actions/workflow/status/peunsu/MRSLauncher/build.yml?branch=master&style=for-the-badge" alt="gh actions">](https://github.com/peunsu/MRSLauncher/actions) [<img src="https://img.shields.io/github/downloads/peunsu/MRSLauncher/total.svg?style=for-the-badge" alt="downloads">](https://github.com/peunsu/MRSLauncher/releases)

[<p align="center"><img src="https://img.shields.io/endpoint?url=https://minecraft-server-status-badge.vercel.app/api/server/mysticred.space?port=25565&logo=curseforge&logoColor=ffffff&label=MRS Server&labelColor=F16436&color=28231d&style=for-the-badge">](https://mysticred.space) [<img src="https://img.shields.io/discord/330997213255827457?style=for-the-badge&logo=discord&logoColor=ffffff&label=Discord&labelColor=6173f4&color=28231d" alt="discord">](https://discord.gg/Z8j6ahF4MJ)

<p align="center">Join modded servers without worrying about installing Java, Forge, or other mods. We'll handle that for you.</p>

![Screenshot 1](https://i.imgur.com/6o7SmH6.png)
![Screenshot 2](https://i.imgur.com/x3B34n1.png)
![Screenshot 1](https://i.imgur.com/hL9gCr3.jpg)
![Screenshot 2](https://i.imgur.com/m1yHiM6.jpg)

## Features

Expand Down Expand Up @@ -39,25 +41,25 @@ This is not an exhaustive list. Download and install the launcher to gauge all i

## Downloads

You can download from [GitHub Releases](https://github.com/dscalzi/HeliosLauncher/releases)
You can download from [GitHub Releases](https://github.com/peunsu/MRSLauncher/releases)

#### Latest Release

[![](https://img.shields.io/github/release/dscalzi/HeliosLauncher.svg?style=flat-square)](https://github.com/dscalzi/HeliosLauncher/releases/latest)
[![](https://img.shields.io/github/release/dscalzi/HeliosLauncher.svg?style=flat-square)](https://github.com/peunsu/MRSLauncher/releases/latest)

#### Latest Pre-Release
[![](https://img.shields.io/github/release/dscalzi/HeliosLauncher/all.svg?style=flat-square)](https://github.com/dscalzi/HeliosLauncher/releases)
[![](https://img.shields.io/github/release/dscalzi/HeliosLauncher/all.svg?style=flat-square)](https://github.com/peunsu/MRSLauncher/releases)

**Supported Platforms**

If you download from the [Releases](https://github.com/dscalzi/HeliosLauncher/releases) tab, select the installer for your system.
If you download from the [Releases](https://github.com/peunsu/MRSLauncher/releases) tab, select the installer for your system.

| Platform | File |
| -------- | ---- |
| Windows x64 | `Helios-Launcher-setup-VERSION.exe` |
| macOS x64 | `Helios-Launcher-setup-VERSION-x64.dmg` |
| macOS arm64 | `Helios-Launcher-setup-VERSION-arm64.dmg` |
| Linux x64 | `Helios-Launcher-setup-VERSION.AppImage` |
| Windows x64 | `MRS-Launcher-setup-VERSION.exe` |
| macOS x64 | `MRS-Launcher-setup-VERSION-x64.dmg` |
| macOS arm64 | `MRS-Launcher-setup-VERSION-arm64.dmg` |
| Linux x64 | `MRS-Launcher-setup-VERSION.AppImage` |

## Console

Expand Down Expand Up @@ -91,8 +93,8 @@ This section details the setup of a basic developmentment environment.
**Clone and Install Dependencies**

```console
> git clone https://github.com/dscalzi/HeliosLauncher.git
> cd HeliosLauncher
> git clone https://github.com/peunsu/MRSLauncher.git
> cd MRSLauncher
> npm install
```

Expand Down Expand Up @@ -189,7 +191,6 @@ For instructions on setting up Microsoft Authentication, see https://github.com/

* [Wiki][wiki]
* [Nebula (Create Distribution.json)][nebula]
* [v2 Rewrite Branch (Inactive)][v2branch]

The best way to contact the developers is on Discord.

Expand Down
3 changes: 1 addition & 2 deletions app/app.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
<div id="loadingContainer">
<div id="loadingContent">
<div id="loadSpinnerContainer">
<img id="loadCenterImage" src="assets/images/LoadingSeal.png">
<img id="loadSpinnerImage" class="rotating" src="assets/images/LoadingText.png">
<img id="loadSpinnerImage" class="rotating" src="assets/images/Icon.png">
</div>
</div>
</div>
Expand Down
57 changes: 28 additions & 29 deletions app/assets/css/launcher.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
******************************************************************************/

@font-face {
font-family: 'Avenir Book';
src: url('../fonts/Avenir-Book.ttf');
font-family: 'Pretendard SemiBold';
src: url('../fonts/Pretendard-SemiBold.ttf');
}

@font-face {
font-family: 'Avenir Medium';
src: url('../fonts/Avenir-Medium.ttf');
font-family: 'Pretendard Medium';
src: url('../fonts/Pretendard-Medium.ttf');
}

@font-face {
Expand Down Expand Up @@ -42,7 +42,7 @@ p {

/* Set default font and color. */
body, button {
font-family: 'Avenir Book';
font-family: 'Pretendard SemiBold';
color: white;
}

Expand Down Expand Up @@ -110,7 +110,7 @@ body, button {
}
#frameTitleText {
font-size: 14px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
letter-spacing: 0.5px;
}

Expand Down Expand Up @@ -284,7 +284,7 @@ body, button {
}

#welcomeHeader {
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
text-align: center;
color: white;
margin-bottom: 25px;
Expand Down Expand Up @@ -497,7 +497,7 @@ body, button {

/* Header on login view. */
#loginSubheader {
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
margin-bottom: 25px;
font-size: 12px;
letter-spacing: 1px;
Expand All @@ -522,7 +522,7 @@ body, button {

/* Span which displays errors related to login field content. */
.loginErrorSpan {
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
font-weight: bold;
font-size: 8px;
color: #ff1b0c;
Expand Down Expand Up @@ -558,7 +558,7 @@ body, button {

/* Login text input styles. */
.loginField {
font-family: 'Avenir Book';
font-family: 'Pretendard SemiBold';
background: none;
border-width: 1.5px 0px 0px 0px;
border-style: solid;
Expand Down Expand Up @@ -1222,7 +1222,7 @@ body, button {
}
.settingsTabHeaderText {
font-size: 20px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
}
.settingsTabHeaderDesc {
font-size: 12px;
Expand Down Expand Up @@ -1261,7 +1261,7 @@ body, button {
background: none;
font-size: 12px;
border-radius: 3px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
transition: 0.25s ease;
cursor: pointer;
outline: none;
Expand Down Expand Up @@ -1293,7 +1293,7 @@ body, button {
background: rgba(0, 0, 0, 0.25);
border-radius: 3px;
border: 1px solid rgba(126, 126, 126, 0.57);
font-family: 'Avenir Book';
font-family: 'Pretendard SemiBold';
transition: 0.25s ease;
}
#settingsContainer input[type=number]:focus,
Expand Down Expand Up @@ -1322,7 +1322,7 @@ body, button {
}
.settingsFieldTitle {
font-size: 14px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
color: rgba(255, 255, 255, 0.95);
}
.settingsFieldDesc {
Expand Down Expand Up @@ -1485,7 +1485,7 @@ input:checked + .toggleSwitchSlider:before {
width: 89%;
}
.settingsFileSelDesc strong {
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
}

/* * *
Expand Down Expand Up @@ -1593,7 +1593,7 @@ input:checked + .toggleSwitchSlider:before {
font-size: 12px;
color: grey;
font-weight: bold;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
}
.settingsAuthAccountDetailValue {
font-size: 14px;
Expand All @@ -1615,7 +1615,7 @@ input:checked + .toggleSwitchSlider:before {
border: none;
white-space: nowrap;
background: none;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
outline: none;
transition: 0.25s ease;
}
Expand All @@ -1640,7 +1640,7 @@ input:checked + .toggleSwitchSlider:before {
background: none;
font-size: 12px;
border-radius: 3px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
transition: 0.25s ease;
cursor: pointer;
outline: none;
Expand Down Expand Up @@ -2195,7 +2195,7 @@ input:checked + .toggleSwitchSlider:before {
/* Release type text. */
#settingsAboutCurrentVersionTitle {
font-size: 12px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
color: #23aa23;
font-weight: bold;
}
Expand Down Expand Up @@ -2284,7 +2284,7 @@ input:checked + .toggleSwitchSlider:before {
background-color: rgba(255, 255, 255, 0.25);
color: white;
border-radius: 3px;
font-family: 'Avenir Book';
font-family: 'Pretendard SemiBold';
}
.settingsChangelogText li+li {
margin-top: .25em;
Expand Down Expand Up @@ -2394,7 +2394,7 @@ input:checked + .toggleSwitchSlider:before {
/* Release type text. */
#settingsUpdateVersionTitle {
font-size: 12px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
color: #23aa23;
font-weight: bold;
}
Expand Down Expand Up @@ -2593,7 +2593,7 @@ input:checked + .toggleSwitchSlider:before {
#newsArticleTitle {
font-size: 18px;
font-weight: bold;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
color: white;
text-decoration: none;
transition: 0.25s ease;
Expand Down Expand Up @@ -2868,7 +2868,6 @@ input:checked + .toggleSwitchSlider:before {
position: relative;
height: 70px;
width: 70px;
border-radius: 50%;
margin-top: 50px;
}

Expand Down Expand Up @@ -2910,7 +2909,7 @@ input:checked + .toggleSwitchSlider:before {
z-index: 1;
top: 115%;
left: -17.5px;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
font-size: 12px;
transition: visibility 0s linear 0.25s, opacity 0.25s ease;
}
Expand Down Expand Up @@ -3242,7 +3241,7 @@ input:checked + .toggleSwitchSlider:before {
border-radius: 4px;
padding: 5px 10px;
z-index: 1;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
font-size: 12px;
transition: visibility 0s linear 0.25s, opacity 0.25s ease;
bottom: calc(100% + 15px);
Expand Down Expand Up @@ -3557,7 +3556,7 @@ input:checked + .toggleSwitchSlider:before {

/* Overlay title styles. */
#overlayTitle {
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
font-size: 20px;
font-weight: bold;
letter-spacing: 1px;
Expand All @@ -3583,7 +3582,7 @@ input:checked + .toggleSwitchSlider:before {
background: none;
border: 1px solid #ffffff;
color: white;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
font-weight: bold;
border-radius: 2px;
padding: 0px 8.1px;
Expand Down Expand Up @@ -3635,7 +3634,7 @@ input:checked + .toggleSwitchSlider:before {
/* Server selection header. */
#serverSelectHeader,
#accountSelectHeader {
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
font-size: 20px;
font-weight: bold;
color: #fff;
Expand Down Expand Up @@ -3858,7 +3857,7 @@ input:checked + .toggleSwitchSlider:before {
background: none;
border: 1px solid #ffffff;
color: white;
font-family: 'Avenir Medium';
font-family: 'Pretendard Medium';
font-weight: bold;
border-radius: 2px;
padding: 0px 8.1px;
Expand Down
Binary file removed app/assets/fonts/Avenir-Black.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-BlackOblique.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-Book.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-BookOblique.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-Heavy.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-HeavyOblique.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-Light.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-LightOblique.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-Medium.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-MediumOblique.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-Oblique.ttf
Binary file not shown.
Binary file removed app/assets/fonts/Avenir-Roman.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-Black.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-Bold.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-ExtraBold.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-ExtraLight.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-Light.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-Medium.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-Regular.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-SemiBold.ttf
Binary file not shown.
Binary file added app/assets/fonts/Pretendard-Thin.ttf
Binary file not shown.
Binary file added app/assets/images/Icon.ico
Binary file not shown.
Binary file added app/assets/images/Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/LoadingSeal.png
Binary file not shown.
Binary file removed app/assets/images/LoadingText.png
Binary file not shown.
Binary file removed app/assets/images/SealCircle.ico
Binary file not shown.
Binary file removed app/assets/images/SealCircle.png
Binary file not shown.
Binary file removed app/assets/images/backgrounds/0.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/1.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/2.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/3.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/4.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/5.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/6.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/backgrounds/7.jpg
Binary file not shown.
Binary file added app/assets/images/backgrounds/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/js/configmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const logger = LoggerUtil.getLogger('ConfigManager')

const sysRoot = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/Application Support' : process.env.HOME)

const dataPath = path.join(sysRoot, '.helioslauncher')
const dataPath = path.join(sysRoot, '.mrslauncher')

const launcherDir = require('@electron/remote').app.getPath('userData')

Expand Down
2 changes: 1 addition & 1 deletion app/assets/js/distromanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const ConfigManager = require('./configmanager')

// Old WesterosCraft url.
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/distribution.json'
exports.REMOTE_DISTRO_URL = 'https://launcher.mysticred.space/distribution.json'

const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(),
Expand Down
2 changes: 1 addition & 1 deletion app/assets/js/ipcconstants.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// NOTE FOR THIRD-PARTY
// REPLACE THIS CLIENT ID WITH YOUR APPLICATION ID.
// SEE https://github.com/dscalzi/HeliosLauncher/blob/master/docs/MicrosoftAuth.md
exports.AZURE_CLIENT_ID = '1ce6e35a-126f-48fd-97fb-54d143ac6d45'
exports.AZURE_CLIENT_ID = '8f387cc5-3138-4699-89a9-f97948e3927e'
// SEE NOTE ABOVE.


Expand Down
2 changes: 1 addition & 1 deletion app/assets/js/langloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exports.setupLanguage = function(){
// Load Language Files
exports.loadLanguage('en_US')
// Uncomment this when translations are ready
//exports.loadLanguage('xx_XX')
exports.loadLanguage('ko_KR')

// Load Custom Language File for Launcher Customizer
exports.loadLanguage('_custom')
Expand Down
4 changes: 2 additions & 2 deletions app/assets/js/processbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class ProcessBuilder {

// Java Arguments
if(process.platform === 'darwin'){
args.push('-Xdock:name=HeliosLauncher')
args.push('-Xdock:name=MRSLauncher')
args.push('-Xdock:icon=' + path.join(__dirname, '..', 'images', 'minecraft.icns'))
}
args.push('-Xmx' + ConfigManager.getMaxRAM(this.server.rawServer.id))
Expand Down Expand Up @@ -521,7 +521,7 @@ class ProcessBuilder {
val = args[i].replace(argDiscovery, tempNativePath)
break
case 'launcher_name':
val = args[i].replace(argDiscovery, 'Helios-Launcher')
val = args[i].replace(argDiscovery, 'MRS-Launcher')
break
case 'launcher_version':
val = args[i].replace(argDiscovery, this.launcherVersion)
Expand Down
2 changes: 1 addition & 1 deletion app/assets/js/scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ function populateAboutVersionInformation(){
*/
function populateReleaseNotes(){
$.ajax({
url: 'https://github.com/dscalzi/HeliosLauncher/releases.atom',
url: 'https://github.com/peunsu/MRSLauncher/releases.atom',
success: (data) => {
const version = 'v' + remote.app.getVersion()
const entries = $(data).find('entry')
Expand Down
Loading

0 comments on commit ab2eeb2

Please sign in to comment.