diff --git a/kick/__main__.py b/kick/__main__.py index a5d7da9..daa7a4a 100644 --- a/kick/__main__.py +++ b/kick/__main__.py @@ -4,13 +4,11 @@ @click.group -def cli(): - ... +def cli(): ... @cli.group(name="bypass", help="Stuff regarding the cloudflare bypass script") -def bypass(): - ... +def bypass(): ... BYPASS_CODE = """ @@ -96,11 +94,11 @@ def create_file(port: int, fp: str, proxy: str | None) -> None: @bypass.command(help="installs the script's dependencys", name="install") def install_dependencys() -> None: print("Running go init...") - subprocess.run("go mod init example/project-name") + subprocess.run(["go", "mod", "init", "example/project-name"]) print("Installing CycleTLS...") - subprocess.run("go get github.com/Danny-Dasilva/CycleTLS/cycletls") + subprocess.run(["go", "get", "github.com/Danny-Dasilva/CycleTLS/cycletls"]) print("Installing gin...") - subprocess.run("go get github.com/gin-gonic/gin") + subprocess.run(["go", "get", "github.com/gin-gonic/gin"]) print("\n\nAll done. Run `go run filepath` to run the file.")