From 291f5399b7f3c37288eb26c1ff2df75854bf04ed Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Tue, 9 Jan 2024 18:48:54 +0300 Subject: [PATCH] change brandings --- app/assets/js/scripts/loginSkirdaDiscord.js | 18 +----------------- app/assets/js/scripts/settings.js | 2 +- app/assets/lang/_custom.toml | 2 +- electron-builder.yml | 10 +++++----- package.json | 8 ++++---- 5 files changed, 12 insertions(+), 28 deletions(-) diff --git a/app/assets/js/scripts/loginSkirdaDiscord.js b/app/assets/js/scripts/loginSkirdaDiscord.js index 57c4060..9b1f12b 100644 --- a/app/assets/js/scripts/loginSkirdaDiscord.js +++ b/app/assets/js/scripts/loginSkirdaDiscord.js @@ -103,23 +103,7 @@ loginSkirdaDiscordButton.addEventListener('click', async () =>{ AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName) setTimeout(() => { - switchView(VIEWS.landing, VIEWS.landing, 500, 500, async () => { - console.log('kek') - // // Temporary workaround - // if(loginViewOnSuccess === VIEWS.settings){ - // await prepareSettings() - // } - // // loginViewOnSuccess = VIEWS.landing // Reset this for good measure. - // // loginCancelEnabled(false) // Reset this for good measure. - // // loginViewCancelHandler = null // Reset this for good measure. - // // loginUsername.value = '' - // // loginPassword.value = '' - // $('.circle-loader').toggleClass('load-complete') - // $('.checkmark').toggle() - // loginLoading(false) - // loginButton.innerHTML = loginButton.innerHTML.replace(Lang.queryJS('login.success'), Lang.queryJS('login.login')) - // formDisabled(false) - }) + switchView(VIEWS.loginSkirdaDiscord, VIEWS.landing, 500, 500) }, 1000) }) diff --git a/app/assets/js/scripts/settings.js b/app/assets/js/scripts/settings.js index 34d1f69..46a7b84 100644 --- a/app/assets/js/scripts/settings.js +++ b/app/assets/js/scripts/settings.js @@ -1501,7 +1501,7 @@ function populateAboutVersionInformation(){ */ function populateReleaseNotes(){ $.ajax({ - url: 'https://github.com/dscalzi/HeliosLauncher/releases.atom', + url: 'https://git.brzezinski.ru/Skirda/SkirdaElectronLauncher/releases.atom', success: (data) => { const version = 'v' + remote.app.getVersion() const entries = $(data).find('entry') diff --git a/app/assets/lang/_custom.toml b/app/assets/lang/_custom.toml index da17faf..cb7dd13 100644 --- a/app/assets/lang/_custom.toml +++ b/app/assets/lang/_custom.toml @@ -1,7 +1,7 @@ # Custom Language File for Launcher Customizer [ejs.app] -title = "Helios Launcher" +title = "Skirda Launcher" [ejs.landing] mediaGitHubURL = "https://github.com/dscalzi/HeliosLauncher" diff --git a/electron-builder.yml b/electron-builder.yml index cd5d1ce..ecb92f7 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -1,5 +1,5 @@ -appId: 'helioslauncher' -productName: 'Helios Launcher' +appId: 'skirdalauncher' +productName: 'Skirda Launcher' artifactName: '${productName}-setup-${version}.${ext}' copyright: 'Copyright © 2018-2022 Daniel Scalzi' @@ -39,9 +39,9 @@ mac: # Linux Configuration linux: target: 'AppImage' - maintainer: 'Daniel Scalzi' - vendor: 'Daniel Scalzi' - synopsis: 'Modded Minecraft Launcher' + maintainer: 'Greg Brzezinski' + vendor: 'Greg Brzezinski' + synopsis: 'Minecraft Launcher for Skirda Servers' description: 'Custom launcher which allows users to join modded servers. All mods, configurations, and updates are handled automatically.' category: 'Game' diff --git a/package.json b/package.json index 0804c2b..bc12b12 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "helioslauncher", - "version": "2.1.0", - "productName": "Helios Launcher", - "description": "Modded Minecraft Launcher", + "name": "skirdalauncher", + "version": "2.1.0-skirda", + "productName": "Skirda Launcher", + "description": "Launcher for Skirda Minecraft servers", "author": "Daniel Scalzi (https://github.com/dscalzi/)", "license": "UNLICENSED", "homepage": "https://github.com/dscalzi/HeliosLauncher",