mirror of
https://github.com/aaron-kidwell/goLoL
synced 2026-06-21 13:46:44 +00:00
updated README.md and main.go
This commit is contained in:
@@ -47,10 +47,20 @@ Admin-tier commands may still require an elevated shell even if your account is
|
|||||||
|
|
||||||
## Install
|
## 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
|
```bash
|
||||||
git clone https://github.com/aaron-kidwell/goLoL.git
|
git clone https://github.com/aaron-kidwell/goLoL.git
|
||||||
cd goLoL
|
cd goLoL
|
||||||
go mod download
|
go build -ldflags="-s -w" -trimpath -o golol.exe .
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module dev
|
module github.com/aaron-kidwell/goLoL
|
||||||
|
|
||||||
go 1.26.2
|
go 1.26.2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user