From b584088426120f6d0e3800e2e90f545ff527b25b Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Fri, 6 Sep 2024 05:00:44 +0000
Subject: [PATCH] Fix the webtorrent-cli recipe

---
 recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml b/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml
index 17a33dc42..00dd4f3cd 100644
--- a/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml
+++ b/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml
@@ -8,6 +8,6 @@ script = """
 mkdir -pv "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli
 mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
 cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli
-echo "#!/usr/bin/env sh \n cd /usr/share/webtorrent-cli \n npm run" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
+echo "#!/usr/bin/env sh \n cd /usr/share/webtorrent-cli \n npx webtorrent-cli" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
 chmod a+x "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
 """
-- 
GitLab