Skip to content

Commit

Permalink
Merge pull request #18 from gub-7/improve_setup_compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
cibere authored Nov 24, 2024
2 parents 62d9e70 + 2e90d10 commit 659bdd6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions kick/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """
Expand Down Expand Up @@ -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.")


Expand Down

0 comments on commit 659bdd6

Please sign in to comment.