diff --git a/index.html b/index.html index c456d6c..fab3cd4 100644 --- a/index.html +++ b/index.html @@ -767,11 +767,10 @@ // Update command display based on selected tool and version function updateCommand(version) { const tool = document.querySelector('input[name="tool"]:checked').value; - const proxy = localStorage.getItem("gh-proxy-enabled") === "true" ? " | sed 's#https://github.com#https://gh-proxy.com/https://github.com#g'" : ""; const _version = version===undefined?"": `VERSION=${version} ` const cmd = tool === "curl" - ? `
${_version}bash \<(curl https://mikrotik.ltd/chr.sh${proxy})
` - : `
${_version}bash \<(wget -O - https://mikrotik.ltd/chr.sh${proxy})
`; + ? `
${_version}bash \<(curl https://mikrotik.ltd/chr.sh)
` + : `
${_version}bash \<(wget -O - https://mikrotik.ltd/chr.sh)
`; commandDiv.innerHTML = cmd; }