Skip to content

Commit

Permalink
fixup! Epic games support
Browse files Browse the repository at this point in the history
  • Loading branch information
dotevo committed Apr 30, 2020
1 parent ab431bb commit b20cc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/sources/epicgames/LegendaryWrapper.vala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace GameHub.Data.Sources.EpicGames
public string get_image(string id)
{
string res = "";
var file = File.new_for_path("/home/dotevo/.config/legendary/metadata/"+id+".json");
var file = File.new_for_path(Environment.get_home_dir () + "/.config/legendary/metadata/"+id+".json");

if (file.query_exists ()) {
var dis = new DataInputStream (file.read ());
Expand Down

0 comments on commit b20cc0e

Please sign in to comment.