Compare commits
4 Commits
6f7255bad8
...
1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4274023d48 | ||
|
|
d891df5643 | ||
|
|
efc2f6d366 | ||
|
|
6b8f0ec324 |
2
.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
/node_modules/
|
||||
/build/
|
||||
/dist/
|
||||
@@ -41,7 +41,6 @@
|
||||
<div id="loadingContent">
|
||||
<div id="loadSpinnerContainer">
|
||||
<img id="loadCenterImage" src="assets/images/LoadingSeal.png">
|
||||
<img id="loadSpinnerImage" class="rotating" src="assets/images/LoadingText.png">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3072,6 +3072,19 @@ input:checked + .toggleSwitchSlider:before {
|
||||
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. */
|
||||
.mediaURL {
|
||||
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(){
|
||||
$.ajax({
|
||||
url: 'https://github.com/dscalzi/HeliosLauncher/releases.atom',
|
||||
url: 'https://git.chenco.dev/TrollFury/chencoLauncher/releases.atom',
|
||||
success: (data) => {
|
||||
const version = 'v' + remote.app.getVersion()
|
||||
const entries = $(data).find('entry')
|
||||
|
||||
@@ -4,15 +4,15 @@
|
||||
title = "Chen & Co Launcher"
|
||||
|
||||
[ejs.landing]
|
||||
mediaGitHubURL = "https://github.com/dscalzi/HeliosLauncher"
|
||||
mediaGitHubURL = "https://git.chenco.dev/TrollFury/chencoLauncher"
|
||||
mediaXURL = "#"
|
||||
mediaInstagramURL = "#"
|
||||
mediaYouTubeURL = "#"
|
||||
mediaDiscordURL = "https://discord.gg/p9asGAzQgP"
|
||||
|
||||
[ejs.settings]
|
||||
sourceGithubLink = "https://github.com/dscalZi/HeliosLauncher"
|
||||
supportLink = "https://github.com/dscalZi/HeliosLauncher/issues"
|
||||
sourceGithubLink = "https://git.chenco.dev/TrollFury/chencoLauncher"
|
||||
supportLink = "https://git.chenco.dev/TrollFury/chencoLauncher/issues"
|
||||
|
||||
[ejs.welcome]
|
||||
welcomeHeader = "WELCOME"
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<div id="left">
|
||||
<div id="image_seal_container">
|
||||
<img id="image_seal" src="assets/images/SealCircle.png"/>
|
||||
<div id="updateAvailableTooltip"><%- lang('landing.updateAvailableTooltip') %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content">
|
||||
@@ -38,6 +37,11 @@
|
||||
</svg>
|
||||
</a>
|
||||
</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>
|
||||
@@ -74,21 +78,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<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 id="right">
|
||||
<div class="bot_wrapper">
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<span><%- lang('loginOptions.loginWithMicrosoft') %></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="loginOptionButtonContainer">
|
||||
<div class="loginOptionButtonContainer" style="display: none;">
|
||||
<button id="loginOptionMojang" class="loginOptionButton">
|
||||
<img src="https://www.trollfury.fr/launcher/icon/chenco.png" width="22" height="22">
|
||||
<span><%- lang('loginOptions.loginWithMojang') %></span>
|
||||
|
||||
@@ -10,10 +10,8 @@
|
||||
<button class="settingsNavItem" rSc="settingsTabMinecraft"><%- lang('settings.navMinecraft') %></button>
|
||||
<button class="settingsNavItem" rSc="settingsTabMods"><%- lang('settings.navMods') %></button>
|
||||
<button class="settingsNavItem" rSc="settingsTabJava"><%- lang('settings.navJava') %></button>
|
||||
<button class="settingsNavItem" rSc="settingsTabLauncher"><%- lang('settings.navLauncher') %></button>
|
||||
<div class="settingsNavSpacer"></div>
|
||||
<button class="settingsNavItem" rSc="settingsTabAbout"><%- lang('settings.navAbout') %></button>
|
||||
<button class="settingsNavItem" rSc="settingsTabUpdate" id="settingsNavUpdate"><%- lang('settings.navUpdates') %></button>
|
||||
<div id="settingsNavContentBottom">
|
||||
<div class="settingsNavDivider"></div>
|
||||
<button id="settingsNavDone"><%- lang('settings.navDone') %></button>
|
||||
@@ -49,7 +47,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="settingsAuthAccountTypeContainer">
|
||||
<div class="settingsAuthAccountTypeContainer" style="display: none;">
|
||||
<div class="settingsAuthAccountTypeHeader">
|
||||
<div class="settingsAuthAccountTypeHeaderLeft">
|
||||
<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. -->
|
||||
<!-- <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="#" id="settingsAboutDevToolsButton" class="settingsAboutButton"><%- lang('settings.devToolsConsole') %></a>
|
||||
<a href="#" id="settingsAboutDevToolsButton" class="settingsAboutButton" style="display: none"><%- lang('settings.devToolsConsole') %></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="settingsChangelogContainer">
|
||||
|
||||
BIN
build/icon.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
@@ -15,6 +15,12 @@ extraResources:
|
||||
|
||||
# Windows Configuration
|
||||
win:
|
||||
publish:
|
||||
- provider: github
|
||||
host: git.chenco.dev
|
||||
releaseType: release
|
||||
repo: chencoLauncher
|
||||
owner: TrollFury
|
||||
target:
|
||||
- target: 'nsis'
|
||||
arch: 'x64'
|
||||
@@ -28,6 +34,12 @@ nsis:
|
||||
|
||||
# macOS Configuration
|
||||
mac:
|
||||
publish:
|
||||
- provider: github
|
||||
host: git.chenco.dev
|
||||
releaseType: release
|
||||
repo: chencoLauncher
|
||||
owner: TrollFury
|
||||
target:
|
||||
- target: 'dmg'
|
||||
arch:
|
||||
@@ -38,14 +50,15 @@ mac:
|
||||
|
||||
# Linux Configuration
|
||||
linux:
|
||||
publish:
|
||||
- provider: github
|
||||
host: git.chenco.dev
|
||||
releaseType: release
|
||||
repo: chencoLauncher
|
||||
owner: TrollFury
|
||||
target: 'AppImage'
|
||||
maintainer: 'Chen & Co'
|
||||
vendor: 'Chen & Co'
|
||||
synopsis: 'Modded Minecraft Launcher'
|
||||
description: 'Custom launcher which allows users to join modded servers. All mods, configurations, and updates are handled automatically.'
|
||||
category: 'Game'
|
||||
|
||||
|
||||
directories:
|
||||
buildResources: 'build'
|
||||
output: 'dist'
|
||||
1
index.js
@@ -60,6 +60,7 @@ ipcMain.on('autoUpdateAction', (event, arg, data) => {
|
||||
break
|
||||
case 'checkForUpdate':
|
||||
autoUpdater.checkForUpdates()
|
||||
.then(d => console.log(d))
|
||||
.catch(err => {
|
||||
event.sender.send('autoUpdateNotification', 'realerror', err)
|
||||
})
|
||||
|
||||
6181
package-lock.json
generated
10
package.json
@@ -1,14 +1,10 @@
|
||||
{
|
||||
"name": "Chenco Launcher",
|
||||
"version": "2.2.2",
|
||||
"name": "ChencoLauncher",
|
||||
"version": "1.0.0",
|
||||
"productName": "Chenco Launcher",
|
||||
"description": "Modded Minecraft Launcher",
|
||||
"author": "Trollfury (https://github.com/trollfury21/)",
|
||||
"author": "Trollfury",
|
||||
"license": "UNLICENSED",
|
||||
"homepage": "",
|
||||
"bugs": {
|
||||
"url": ""
|
||||
},
|
||||
"private": true,
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||