Compare commits
4 Commits
6f7255bad8
...
1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4274023d48 | ||
|
|
d891df5643 | ||
|
|
efc2f6d366 | ||
|
|
6b8f0ec324 |
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
|||||||
/node_modules/
|
/node_modules/
|
||||||
/build/
|
/dist/
|
||||||
@@ -41,7 +41,6 @@
|
|||||||
<div id="loadingContent">
|
<div id="loadingContent">
|
||||||
<div id="loadSpinnerContainer">
|
<div id="loadSpinnerContainer">
|
||||||
<img id="loadCenterImage" src="assets/images/LoadingSeal.png">
|
<img id="loadCenterImage" src="assets/images/LoadingSeal.png">
|
||||||
<img id="loadSpinnerImage" class="rotating" src="assets/images/LoadingText.png">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3072,6 +3072,19 @@ input:checked + .toggleSwitchSlider:before {
|
|||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.githubSVG {
|
||||||
|
fill: #ffffff;
|
||||||
|
transition: 0.25s ease;
|
||||||
|
cursor: pointer;
|
||||||
|
height: 12px;
|
||||||
|
width: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.githubSVG:hover {
|
||||||
|
height: 20px;
|
||||||
|
width: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Social media URL shared styles. */
|
/* Social media URL shared styles. */
|
||||||
.mediaURL {
|
.mediaURL {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 58 KiB |
BIN
app/assets/images/github.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
@@ -1453,7 +1453,7 @@ function populateAboutVersionInformation(){
|
|||||||
*/
|
*/
|
||||||
function populateReleaseNotes(){
|
function populateReleaseNotes(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'https://github.com/dscalzi/HeliosLauncher/releases.atom',
|
url: 'https://git.chenco.dev/TrollFury/chencoLauncher/releases.atom',
|
||||||
success: (data) => {
|
success: (data) => {
|
||||||
const version = 'v' + remote.app.getVersion()
|
const version = 'v' + remote.app.getVersion()
|
||||||
const entries = $(data).find('entry')
|
const entries = $(data).find('entry')
|
||||||
|
|||||||
@@ -4,15 +4,15 @@
|
|||||||
title = "Chen & Co Launcher"
|
title = "Chen & Co Launcher"
|
||||||
|
|
||||||
[ejs.landing]
|
[ejs.landing]
|
||||||
mediaGitHubURL = "https://github.com/dscalzi/HeliosLauncher"
|
mediaGitHubURL = "https://git.chenco.dev/TrollFury/chencoLauncher"
|
||||||
mediaXURL = "#"
|
mediaXURL = "#"
|
||||||
mediaInstagramURL = "#"
|
mediaInstagramURL = "#"
|
||||||
mediaYouTubeURL = "#"
|
mediaYouTubeURL = "#"
|
||||||
mediaDiscordURL = "https://discord.gg/p9asGAzQgP"
|
mediaDiscordURL = "https://discord.gg/p9asGAzQgP"
|
||||||
|
|
||||||
[ejs.settings]
|
[ejs.settings]
|
||||||
sourceGithubLink = "https://github.com/dscalZi/HeliosLauncher"
|
sourceGithubLink = "https://git.chenco.dev/TrollFury/chencoLauncher"
|
||||||
supportLink = "https://github.com/dscalZi/HeliosLauncher/issues"
|
supportLink = "https://git.chenco.dev/TrollFury/chencoLauncher/issues"
|
||||||
|
|
||||||
[ejs.welcome]
|
[ejs.welcome]
|
||||||
welcomeHeader = "WELCOME"
|
welcomeHeader = "WELCOME"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
<div id="left">
|
<div id="left">
|
||||||
<div id="image_seal_container">
|
<div id="image_seal_container">
|
||||||
<img id="image_seal" src="assets/images/SealCircle.png"/>
|
<img id="image_seal" src="assets/images/SealCircle.png"/>
|
||||||
<div id="updateAvailableTooltip"><%- lang('landing.updateAvailableTooltip') %></div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
@@ -38,6 +37,11 @@
|
|||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="mediaContainer">
|
||||||
|
<a href="<%- lang('landing.mediaGitHubURL') %>" class="mediaURL" id="githubURL">
|
||||||
|
<img src="./assets/images/github.png" alt="Github Logo" class="githubSVG">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -74,21 +78,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="center">
|
<div id="center">
|
||||||
<div class="bot_wrapper">
|
|
||||||
<div id="content">
|
|
||||||
<button id="newsButton">
|
|
||||||
<!--<img src="assets/images/icons/arrow.svg" id="newsButtonSVG"/>-->
|
|
||||||
<div id="newsButtonAlert" style="display: none;"></div>
|
|
||||||
<svg id="newsButtonSVG" viewBox="0 0 24.87 13.97">
|
|
||||||
<defs>
|
|
||||||
<style>.arrowLine{fill:none;stroke:#FFF;stroke-width:2px;}</style>
|
|
||||||
</defs>
|
|
||||||
<polyline class="arrowLine" points="0.71 13.26 12.56 1.41 24.16 13.02"/>
|
|
||||||
</svg>
|
|
||||||
<span id="newsButtonText"><%- lang('landing.newsButton') %></span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="right">
|
<div id="right">
|
||||||
<div class="bot_wrapper">
|
<div class="bot_wrapper">
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<span><%- lang('loginOptions.loginWithMicrosoft') %></span>
|
<span><%- lang('loginOptions.loginWithMicrosoft') %></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="loginOptionButtonContainer">
|
<div class="loginOptionButtonContainer" style="display: none;">
|
||||||
<button id="loginOptionMojang" class="loginOptionButton">
|
<button id="loginOptionMojang" class="loginOptionButton">
|
||||||
<img src="https://www.trollfury.fr/launcher/icon/chenco.png" width="22" height="22">
|
<img src="https://www.trollfury.fr/launcher/icon/chenco.png" width="22" height="22">
|
||||||
<span><%- lang('loginOptions.loginWithMojang') %></span>
|
<span><%- lang('loginOptions.loginWithMojang') %></span>
|
||||||
|
|||||||
@@ -10,10 +10,8 @@
|
|||||||
<button class="settingsNavItem" rSc="settingsTabMinecraft"><%- lang('settings.navMinecraft') %></button>
|
<button class="settingsNavItem" rSc="settingsTabMinecraft"><%- lang('settings.navMinecraft') %></button>
|
||||||
<button class="settingsNavItem" rSc="settingsTabMods"><%- lang('settings.navMods') %></button>
|
<button class="settingsNavItem" rSc="settingsTabMods"><%- lang('settings.navMods') %></button>
|
||||||
<button class="settingsNavItem" rSc="settingsTabJava"><%- lang('settings.navJava') %></button>
|
<button class="settingsNavItem" rSc="settingsTabJava"><%- lang('settings.navJava') %></button>
|
||||||
<button class="settingsNavItem" rSc="settingsTabLauncher"><%- lang('settings.navLauncher') %></button>
|
|
||||||
<div class="settingsNavSpacer"></div>
|
<div class="settingsNavSpacer"></div>
|
||||||
<button class="settingsNavItem" rSc="settingsTabAbout"><%- lang('settings.navAbout') %></button>
|
<button class="settingsNavItem" rSc="settingsTabAbout"><%- lang('settings.navAbout') %></button>
|
||||||
<button class="settingsNavItem" rSc="settingsTabUpdate" id="settingsNavUpdate"><%- lang('settings.navUpdates') %></button>
|
|
||||||
<div id="settingsNavContentBottom">
|
<div id="settingsNavContentBottom">
|
||||||
<div class="settingsNavDivider"></div>
|
<div class="settingsNavDivider"></div>
|
||||||
<button id="settingsNavDone"><%- lang('settings.navDone') %></button>
|
<button id="settingsNavDone"><%- lang('settings.navDone') %></button>
|
||||||
@@ -49,7 +47,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settingsAuthAccountTypeContainer">
|
<div class="settingsAuthAccountTypeContainer" style="display: none;">
|
||||||
<div class="settingsAuthAccountTypeHeader">
|
<div class="settingsAuthAccountTypeHeader">
|
||||||
<div class="settingsAuthAccountTypeHeaderLeft">
|
<div class="settingsAuthAccountTypeHeaderLeft">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 9.677 9.667">
|
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 9.677 9.667">
|
||||||
@@ -333,7 +331,7 @@
|
|||||||
<!-- The following must be included in third-party usage. -->
|
<!-- The following must be included in third-party usage. -->
|
||||||
<!-- <a href="https://github.com/dscalzi/HeliosLauncher" id="settingsAboutSourceButton" class="settingsAboutButton">Original Source</a> -->
|
<!-- <a href="https://github.com/dscalzi/HeliosLauncher" id="settingsAboutSourceButton" class="settingsAboutButton">Original Source</a> -->
|
||||||
<a href="<%- lang('settings.supportLink') %>" id="settingsAboutSupportButton" class="settingsAboutButton"><%- lang('settings.support') %></a>
|
<a href="<%- lang('settings.supportLink') %>" id="settingsAboutSupportButton" class="settingsAboutButton"><%- lang('settings.support') %></a>
|
||||||
<a href="#" id="settingsAboutDevToolsButton" class="settingsAboutButton"><%- lang('settings.devToolsConsole') %></a>
|
<a href="#" id="settingsAboutDevToolsButton" class="settingsAboutButton" style="display: none"><%- lang('settings.devToolsConsole') %></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="settingsChangelogContainer">
|
<div class="settingsChangelogContainer">
|
||||||
|
|||||||
BIN
build/icon.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
@@ -15,6 +15,12 @@ extraResources:
|
|||||||
|
|
||||||
# Windows Configuration
|
# Windows Configuration
|
||||||
win:
|
win:
|
||||||
|
publish:
|
||||||
|
- provider: github
|
||||||
|
host: git.chenco.dev
|
||||||
|
releaseType: release
|
||||||
|
repo: chencoLauncher
|
||||||
|
owner: TrollFury
|
||||||
target:
|
target:
|
||||||
- target: 'nsis'
|
- target: 'nsis'
|
||||||
arch: 'x64'
|
arch: 'x64'
|
||||||
@@ -28,6 +34,12 @@ nsis:
|
|||||||
|
|
||||||
# macOS Configuration
|
# macOS Configuration
|
||||||
mac:
|
mac:
|
||||||
|
publish:
|
||||||
|
- provider: github
|
||||||
|
host: git.chenco.dev
|
||||||
|
releaseType: release
|
||||||
|
repo: chencoLauncher
|
||||||
|
owner: TrollFury
|
||||||
target:
|
target:
|
||||||
- target: 'dmg'
|
- target: 'dmg'
|
||||||
arch:
|
arch:
|
||||||
@@ -38,14 +50,15 @@ mac:
|
|||||||
|
|
||||||
# Linux Configuration
|
# Linux Configuration
|
||||||
linux:
|
linux:
|
||||||
|
publish:
|
||||||
|
- provider: github
|
||||||
|
host: git.chenco.dev
|
||||||
|
releaseType: release
|
||||||
|
repo: chencoLauncher
|
||||||
|
owner: TrollFury
|
||||||
target: 'AppImage'
|
target: 'AppImage'
|
||||||
maintainer: 'Chen & Co'
|
maintainer: 'Chen & Co'
|
||||||
vendor: 'Chen & Co'
|
vendor: 'Chen & Co'
|
||||||
synopsis: 'Modded Minecraft Launcher'
|
synopsis: 'Modded Minecraft Launcher'
|
||||||
description: 'Custom launcher which allows users to join modded servers. All mods, configurations, and updates are handled automatically.'
|
description: 'Custom launcher which allows users to join modded servers. All mods, configurations, and updates are handled automatically.'
|
||||||
category: 'Game'
|
category: 'Game'
|
||||||
|
|
||||||
|
|
||||||
directories:
|
|
||||||
buildResources: 'build'
|
|
||||||
output: 'dist'
|
|
||||||
1
index.js
@@ -60,6 +60,7 @@ ipcMain.on('autoUpdateAction', (event, arg, data) => {
|
|||||||
break
|
break
|
||||||
case 'checkForUpdate':
|
case 'checkForUpdate':
|
||||||
autoUpdater.checkForUpdates()
|
autoUpdater.checkForUpdates()
|
||||||
|
.then(d => console.log(d))
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
event.sender.send('autoUpdateNotification', 'realerror', err)
|
event.sender.send('autoUpdateNotification', 'realerror', err)
|
||||||
})
|
})
|
||||||
|
|||||||
6181
package-lock.json
generated
10
package.json
@@ -1,14 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "Chenco Launcher",
|
"name": "ChencoLauncher",
|
||||||
"version": "2.2.2",
|
"version": "1.0.0",
|
||||||
"productName": "Chenco Launcher",
|
"productName": "Chenco Launcher",
|
||||||
"description": "Modded Minecraft Launcher",
|
"description": "Modded Minecraft Launcher",
|
||||||
"author": "Trollfury (https://github.com/trollfury21/)",
|
"author": "Trollfury",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"homepage": "",
|
|
||||||
"bugs": {
|
|
||||||
"url": ""
|
|
||||||
},
|
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||