From 6057e0fd7b8e62c5c7ceca25a32c31747561c8cb Mon Sep 17 00:00:00 2001 From: tkashkin Date: Sun, 5 Jan 2020 02:47:23 +0300 Subject: [PATCH] Fix Humble Trove URL signing (#329, #32) Fix Proton prefix initialization --- src/data/compat/Proton.vala | 2 +- src/data/sources/humble/HumbleGame.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/compat/Proton.vala b/src/data/compat/Proton.vala index 53e59e96..c698db8d 100644 --- a/src/data/compat/Proton.vala +++ b/src/data/compat/Proton.vala @@ -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); } } diff --git a/src/data/sources/humble/HumbleGame.vala b/src/data/sources/humble/HumbleGame.vala index 43f0e95c..f521415f 100644 --- a/src/data/sources/humble/HumbleGame.vala +++ b/src/data/sources/humble/HumbleGame.vala @@ -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;