Skip to content

Commit

Permalink
bump to 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanamr committed May 7, 2023
1 parent ac604c5 commit ed23da7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "arenareturnslauncher",
"description": "Le launcher officiel d'Arena Returns",
"version": "2.0.4",
"version": "2.0.5",
"author": {
"email": "[email protected]",
"name": "Arena Returns",
Expand Down
2 changes: 2 additions & 0 deletions packages/main/src/cdnService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

0 comments on commit ed23da7

Please sign in to comment.