Skip to content

Commit

Permalink
Fix Humble Trove URL signing (#329, #32)
Browse files Browse the repository at this point in the history
Fix Proton prefix initialization
  • Loading branch information
tkashkin committed Jan 4, 2020
1 parent e23b4c3 commit 6057e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/data/compat/Proton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ namespace GameHub.Data.Compat

if(!cmd.query_exists())
{
yield Utils.run_thread({ executable.get_path(), "run", cmd.get_path() }, runnable.install_dir.get_path(), prepare_env(runnable), false, true);
yield Utils.run_thread({ executable.get_path(), "run", cmd.get_path(), "/c", "exit" }, runnable.install_dir.get_path(), prepare_env(runnable), false, true);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/data/sources/humble/HumbleGame.vala
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ namespace GameHub.Data.Sources.Humble
var new_url = installer.update_url(this);
if(new_url != null)
{
var url_field = "\"web\": \"%s\"";
var url_field = "\"%s\"";
info = info.replace(url_field.printf(old_url), url_field.printf(new_url));
}
refresh = true;
Expand Down

0 comments on commit 6057e0f

Please sign in to comment.