Skip to content

Commit

Permalink
[Fix] Wrong config Folder
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioislima committed Jan 6, 2022
1 parent cde4499 commit f42e085
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions electron/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion electron/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "heroic",
"productName": "Heroic",
"version": "2.0.1",
"version": "2.0.2",
"private": true,
"main": "public/main.js",
"homepage": "./",
Expand Down

0 comments on commit f42e085

Please sign in to comment.