From ed23da703e726b032f1454b808c6d35871a27019 Mon Sep 17 00:00:00 2001 From: Jordan Rey Date: Sun, 7 May 2023 12:35:12 +0200 Subject: [PATCH] bump to 2.0.5 --- package.json | 2 +- packages/main/src/cdnService.ts | 2 ++ packages/main/src/constants.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f9fec53..dc8cace 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "arenareturnslauncher", "description": "Le launcher officiel d'Arena Returns", - "version": "2.0.4", + "version": "2.0.5", "author": { "email": "contact@arena-returns.com", "name": "Arena Returns", diff --git a/packages/main/src/cdnService.ts b/packages/main/src/cdnService.ts index 77dd743..62a820d 100644 --- a/packages/main/src/cdnService.ts +++ b/packages/main/src/cdnService.ts @@ -3,11 +3,13 @@ import { Constants } from "./constants"; import { app, dialog, shell } from "electron"; import got from "got"; import { browserWindow } from "./mainWindow"; +import log from "electron-log"; export let manifest: Manifest; export async function loadManifest() { try { + log.info("Downloading manifest.json"); manifest = await got.get(`${Constants.CDN_URL}/manifest.json`).json(); // Automatic updates are only available on Windows diff --git a/packages/main/src/constants.ts b/packages/main/src/constants.ts index 15026d7..3f63877 100644 --- a/packages/main/src/constants.ts +++ b/packages/main/src/constants.ts @@ -2,7 +2,7 @@ import { app } from "electron"; import * as path from "path"; export class Constants { - public static readonly CURRENT_LAUNCHER_VERSION = "2.0.4"; + public static readonly CURRENT_LAUNCHER_VERSION = "2.0.5"; public static readonly CDN_URL = "https://launcher.arena-returns.com"; public static readonly GAME_PATH = path.join(app.getPath("appData"), "Arena Returns Client"); }