diff --git a/README.md b/README.md index 78a236e..31f45da 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,20 @@ Admin-tier commands may still require an elevated shell even if your account is ## Install +**Remote install** (requires a tagged release on GitHub, e.g. `v0.1.0`): + +```bash +go install github.com/aaron-kidwell/goLoL@latest +``` + +The binary is placed in your `GOPATH/bin` (or `~/go/bin`). On Windows, ensure that directory is on your `PATH`. + +**Clone and build:** + ```bash git clone https://github.com/aaron-kidwell/goLoL.git cd goLoL -go mod download +go build -ldflags="-s -w" -trimpath -o golol.exe . ``` ## Usage diff --git a/go.mod b/go.mod index aa78f9e..afeebe1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module dev +module github.com/aaron-kidwell/goLoL go 1.26.2 diff --git a/main.go b/main.go index 8c69a6c..81a4fd8 100644 --- a/main.go +++ b/main.go @@ -13,8 +13,8 @@ import ( "syscall" "unsafe" - "dev/internal/mitre" - "dev/internal/privileges" + "github.com/aaron-kidwell/goLoL/internal/mitre" + "github.com/aaron-kidwell/goLoL/internal/privileges" ) type lolbasCommand struct {