Skip to content

Commit

Permalink
[ci skip] Cache path
Browse files Browse the repository at this point in the history
Former-commit-id: e6286cd
  • Loading branch information
tkashkin committed Jul 12, 2018
1 parent 2071c23 commit 8c4fa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/FSUtils.vala
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace GameHub.Utils

public static string expand(string path, string file="")
{
return path.replace("~", Environment.get_home_dir()) + (file != "" ? "/" + file : "");
return path.replace("~/.cache", Environment.get_user_cache_dir()).replace("~", Environment.get_home_dir()) + (file != "" ? "/" + file : "");
}

public static File file(string path, string file="")
Expand Down

0 comments on commit 8c4fa53

Please sign in to comment.