This commit is contained in:
DevLarge 2021-01-09 15:27:27 +01:00
parent 9d8d9fc1ae
commit a4cdbd5109
2 changed files with 7 additions and 3 deletions

View File

@ -6,7 +6,7 @@
*/
// Requirements
const $ = require('jquery')
const {ipcRenderer, remote, shell, webFrame} = require('electron')
const {ipcRenderer, remote, shell, webFrame, DownloadItem} = require('electron')
const isDev = require('./assets/js/isdev')
const LoggerUtil = require('./assets/js/loggerutil')
@ -49,12 +49,16 @@ if(!isDev){
loggerAutoUpdaterSuccess.log('New update available', info.version)
console.log('Update available')
if (process.platform === "win32") {
console.log('LARGE: Platform win32')
}
if(process.platform === 'darwin'){
info.darwindownload = `https://github.com/DevLarge/StellarNetworkLauncherUtil/releases/download/v1.0.1/Stellar.Network.Launcher-setup-1.0.1.exe.blockmap`
info.darwindownload = `https://github.com/DevLarge/StellarNetworkLauncherUtil/releases/download/v1.0.2/Stellar-Network-Launcher-setup-1.0.2.exe.blockmap`
// Prøv fra version 1.0.0
// v${info.version}
// https://github.com/DevLarge/StellarNetworkLauncherUtil/releases/download/v1.0.1/Stellar.Network.Launcher-setup-1.0.1.blockmap

View File

@ -19,7 +19,7 @@ builder.build({
targets: (process.argv[2] != null && Platform[process.argv[2]] != null ? Platform[process.argv[2]] : getCurrentPlatform()).createTarget(),
config: {
appId: 'stellarnetworklauncher',
productName: 'Stellar Network Launcher',
productName: 'Stellar-Network-Launcher',
artifactName: '${productName}-setup-${version}.${ext}',
copyright: 'Copyright © 2018-2021 Stellar Network',
directories: {