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;