Skip to content

Commit

Permalink
Edit the original project
Browse files Browse the repository at this point in the history
  • Loading branch information
Tunakirkoc committed Apr 24, 2024
1 parent ae0e9e2 commit bb1f696
Show file tree
Hide file tree
Showing 9 changed files with 192 additions and 200 deletions.
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, '.kirkoclauncher')

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

Expand Down
5 changes: 2 additions & 3 deletions app/assets/js/distromanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ const { DistributionAPI } = require('helios-core/common')

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'
// Current Distro.
exports.REMOTE_DISTRO_URL = 'https://raw.githubusercontent.com/Kirkoc/distribution/main/distribution.json'

const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(),
Expand Down
10 changes: 5 additions & 5 deletions app/assets/lang/_custom.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Custom Language File for Launcher Customizer

[ejs.app]
title = "Helios Launcher"
title = "Kirkoc Launcher"

[ejs.landing]
mediaGitHubURL = "https://github.com/dscalzi/HeliosLauncher"
mediaGitHubURL = "https://github.com/Kirkoc"
mediaTwitterURL = "#"
mediaInstagramURL = "#"
mediaYouTubeURL = "#"
mediaDiscordURL = "https://discord.gg/zNWUXdt"
mediaDiscordURL = "https://discord.gg/W9yEEs4"

[ejs.settings]
sourceGithubLink = "https://github.com/dscalZi/HeliosLauncher"
supportLink = "https://github.com/dscalZi/HeliosLauncher/issues"
sourceGithubLink = "https://github.com/Kirkoc/Launcher"
supportLink = "https://github.com/Kirkoc/Launcher/issues"

[ejs.welcome]
welcomeHeader = "WELCOME TO WESTEROSCRAFT"
Expand Down
4 changes: 2 additions & 2 deletions app/assets/lang/en_US.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ javaDownloadPrepare = "Preparing Java Download.."
javaDownloadFailureTitle = "Error During Java Download"
javaDownloadFailureText = "See console (CTRL + Shift + i) for more details."
javaRequired = "Java is Required<br>to Launch"
javaRequiredMessage = 'A valid x64 installation of Java {major} is required to launch.<br><br>Please refer to our <a href="https://github.com/dscalzi/HeliosLauncher/wiki/Java-Management#manually-installing-a-valid-version-of-java">Java Management Guide</a> for instructions on how to manually install Java.'
javaRequiredMessage = 'A valid x64 installation of Java {major} is required to launch.<br><br>Please refer to our <a href="https://github.com/Kirkoc/Launcher/wiki/Java-Management#manually-installing-a-valid-version-of-java">Java Management Guide</a> for instructions on how to manually install Java.'
javaRequiredDismiss = "I Understand"
javaRequiredCancel = "Go Back"

Expand All @@ -203,7 +203,7 @@ downloadingFiles = "Downloading files.."
errorDuringFileDownloadTitle = "Error During File Download"
preparingToLaunch = "Preparing to launch.."
launchingGame = "Launching game.."
launchWrapperNotDownloaded = "The main file, LaunchWrapper, failed to download properly. As a result, the game cannot launch.<br><br>To fix this issue, temporarily turn off your antivirus software and launch the game again.<br><br>If you have time, please <a href=\"https://github.com/dscalzi/HeliosLauncher/issues\">submit an issue</a> and let us know what antivirus software you use. We'll contact them and try to straighten things out."
launchWrapperNotDownloaded = "The main file, LaunchWrapper, failed to download properly. As a result, the game cannot launch.<br><br>To fix this issue, temporarily turn off your antivirus software and launch the game again.<br><br>If you have time, please <a href=\"https://github.com/Kirkoc/Launcher/issues\">submit an issue</a> and let us know what antivirus software you use. We'll contact them and try to straighten things out."
doneEnjoyServer = "Done. Enjoy the server!"
checkConsoleForDetails = "Please check the console (CTRL + Shift + i) for more details."

Expand Down
2 changes: 1 addition & 1 deletion app/settings.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
<div id="settingsAboutButtons">
<a href="<%- lang('settings.sourceGithubLink') %>" id="settingsAboutSourceButton" class="settingsAboutButton"><%- lang('settings.sourceGithub') %></a>
<!-- 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="#" id="settingsAboutDevToolsButton" class="settingsAboutButton"><%- lang('settings.devToolsConsole') %></a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions dev-app-update.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
owner: dscalzi
repo: HeliosLauncher
owner: Kirkoc
repo: Launcher
provider: github
10 changes: 5 additions & 5 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
appId: 'helioslauncher'
productName: 'Helios Launcher'
appId: 'kirkoclauncher'
productName: 'Kirkoc Launcher'
artifactName: '${productName}-setup-${version}.${ext}'

copyright: 'Copyright © 2018-2024 Daniel Scalzi'
copyright: 'Copyright © 2024 Tuna Kirkoc'

asar: true
compression: 'maximum'
Expand Down Expand Up @@ -39,8 +39,8 @@ mac:
# Linux Configuration
linux:
target: 'AppImage'
maintainer: 'Daniel Scalzi'
vendor: 'Daniel Scalzi'
maintainer: 'Tuna Kirkoc'
vendor: 'Tuna Kirkoc'
synopsis: 'Modded Minecraft Launcher'
description: 'Custom launcher which allows users to join modded servers. All mods, configurations, and updates are handled automatically.'
category: 'Game'
Expand Down
Loading

0 comments on commit bb1f696

Please sign in to comment.