test auto Update

This commit is contained in:
SoraxDubbing 2022-02-27 18:19:14 +01:00
parent 8ff992bfa3
commit bf3d2fbd8d
8 changed files with 15 additions and 15 deletions

View File

@ -6,7 +6,7 @@ const logger = require('./loggerutil')('%c[ConfigManager]', 'color: #a02d2a; fon
const sysRoot = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/Application Support' : process.env.HOME)
// TODO change
const dataPath = path.join(sysRoot, '.helioslauncher')
const dataPath = path.join(sysRoot, '.RoadToNincraftlauncher')
// Forked processes do not have access to electron, so we have this workaround.
const launcherDir = process.env.CONFIG_DIRECT_PATH || require('@electron/remote').app.getPath('userData')

View File

@ -343,7 +343,7 @@ class ProcessBuilder {
// Java Arguments
if(process.platform === 'darwin'){
args.push('-Xdock:name=HeliosLauncher')
args.push('-Xdock:name=RoadToNincraftLauncher')
args.push('-Xdock:icon=' + path.join(__dirname, '..', 'images', 'minecraft.icns'))
}
args.push('-Xmx' + ConfigManager.getMaxRAM())
@ -381,7 +381,7 @@ class ProcessBuilder {
// Java Arguments
if(process.platform === 'darwin'){
args.push('-Xdock:name=HeliosLauncher')
args.push('-Xdock:name=RoadToNincraftLauncher')
args.push('-Xdock:icon=' + path.join(__dirname, '..', 'images', 'minecraft.icns'))
}
args.push('-Xmx' + ConfigManager.getMaxRAM())
@ -483,7 +483,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, 'RoadToNincraft-Launcher')
break
case 'launcher_version':
val = args[i].replace(argDiscovery, this.launcherVersion)

View File

@ -1403,7 +1403,7 @@ function populateAboutVersionInformation(){
*/
function populateReleaseNotes(){
$.ajax({
url: 'https://github.com/dscalzi/HeliosLauncher/releases.atom',
url: 'https://github.com/Sorax5/RoadToNincraftStudioLeblanc-Launcher/releases.atom',
success: (data) => {
const version = 'v' + remote.app.getVersion()
const entries = $(data).find('entry')

View File

@ -50,7 +50,7 @@ if(!isDev){
loggerAutoUpdaterSuccess.log('New update available', info.version)
if(process.platform === 'darwin'){
info.darwindownload = `https://github.com/dscalzi/HeliosLauncher/releases/download/v${info.version}/Helios-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg`
info.darwindownload = `https://github.com/Sorax5/RoadToNincraftStudioLeblanc-Launcher/releases/download/v${info.version}/RoadToNincraft-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg`
showUpdateUI(info)
}

View File

@ -319,10 +319,10 @@
</div>
</div>
<div id="settingsAboutButtons">
<a href="https://github.com/dscalZi/HeliosLauncher" id="settingsAboutSourceButton" class="settingsAboutButton">Source (GitHub)</a>
<a href="https://github.com/Sorax5/RoadToNincraftStudioLeblanc-Launcher" id="settingsAboutSourceButton" class="settingsAboutButton">Source (GitHub)</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/issues" id="settingsAboutSupportButton" class="settingsAboutButton">Support</a>
<a href="https://github.com/dscalzi/HeliosLauncher" id="settingsAboutSourceButton" class="settingsAboutButton">Original Source</a>>
<a href="https://github.com/Sorax5/RoadToNincraftStudioLeblanc-Launcher/issues" id="settingsAboutSupportButton" class="settingsAboutButton">Support</a>
<a href="#" id="settingsAboutDevToolsButton" class="settingsAboutButton">DevTools Console</a>
</div>
</div>

View File

@ -1,3 +1,3 @@
owner: dscalzi
repo: HeliosLauncher
owner: Sorax5
repo: RoadToNincraftStudioLeblanc-Launcher
provider: github

View File

@ -1,5 +1,5 @@
appId: 'RoadToNincraftLauncher'
productName: 'RoadToNincraft Launcher'
appId: 'roadtonincraftlauncher'
productName: 'RoadToNincraft-Launcher'
artifactName: '${productName}-setup-${version}.${ext}'
copyright: 'Copyright © 2018-2022 Daniel Scalzi'

View File

@ -1,11 +1,11 @@
{
"name": "roadtonincraftlauncher",
"version": "1.0.1",
"version": "1.0.3",
"productName": "RoadToNincraftStudioLeblanc Launcher",
"description": "Launcher du serveur RolePlay RoadToNincraft",
"author": "Daniel Scalzi (https://github.com/dscalzi/) AND SoraxDubbing (https://github.com/Sorax5/)",
"license": "UNLICENSED",
"homepage": "https://github.com/Sorax5/RoadToNincraftStudioLeblanc-Launcherr",
"homepage": "https://github.com/Sorax5/RoadToNincraftStudioLeblanc-Launcher",
"bugs": {
"url": "https://github.com/Sorax5/RoadToNincraftStudioLeblanc-Launcher/issues"
},