From f42e0858cf1c43c87221cb325a6701d380de2398 Mon Sep 17 00:00:00 2001 From: Flavio F Lima Date: Thu, 6 Jan 2022 22:06:44 +0100 Subject: [PATCH] [Fix] Wrong config Folder --- electron/constants.ts | 4 ++-- electron/utils.ts | 2 +- package.json | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/electron/constants.ts b/electron/constants.ts index 1cd04ec26e..0033e98feb 100644 --- a/electron/constants.ts +++ b/electron/constants.ts @@ -40,8 +40,8 @@ const legendaryConfigPath = isFlatpak ? `${home}/config/legendary` : `${home}/.config/legendary` const heroicFolder = isFlatpak - ? `${home}/config/Heroic/` - : `${home}/.config/Heroic/` + ? `${home}/config/heroic/` + : `${home}/.config/heroic/` const heroicConfigPath = `${heroicFolder}config.json` const heroicGamesConfigPath = `${heroicFolder}GamesConfig/` const heroicToolsPath = `${heroicFolder}tools` diff --git a/electron/utils.ts b/electron/utils.ts index 4b754b1e16..8f8bd7a821 100644 --- a/electron/utils.ts +++ b/electron/utils.ts @@ -307,7 +307,7 @@ function clearCache() { } function resetHeroic() { - const heroicFolder = `${app.getPath('appData')}/Heroic` + const heroicFolder = `${app.getPath('appData')}/heroic` rm(heroicFolder, { recursive: true, force: true }, () => { app.relaunch() app.quit() diff --git a/package.json b/package.json index f0b12708b5..eee8f6306c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "heroic", - "productName": "Heroic", - "version": "2.0.1", + "version": "2.0.2", "private": true, "main": "public/main.js", "homepage": "./",